I need help learning to script as the wiki explains it too complicated and mentors give me examples and critiques. Please comment whether or not you guys are interested!!
E.k" CM Bolivar
I need help learning to script as the wiki explains it too complicated and mentors give me examples and critiques. Please comment whether or not you guys are interested!!
E.k" CM Bolivar
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
I can teach you how to script in this thread. So tell me what you know first of all to begin with so I can have a good understanding of where you are.
You need to tell us what you do understand and what you don't understand. Else we can't help you.
Well all I know is NPC(character) scripts. Head, boy, sleevecolor etc.
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
If you haven't understood anything from the tutorial I made, let me know so I can explain more deeply.
-Johnaudi
Well, first can you please tell me how to make a chair (my own graphic) so that the player sits?
I tried:
// NPC made by Stefan Knorr
if (created) {
}
if (playertouchsme) {
dontblock;
drawunderplayer;
triggeraction 50,29,sit.gani,;
}
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
And:
// NPC made by Stefan Knorr
if (created) {
}
if (playertouchsme) {
dontblock;
drawunderplayer;
setani sit,;
}
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!
You're scripting using Gs1, please use Gs2 instead.
For the script:
This will only work in a server.PHP Code:
//#CLIENTSIDE
function onCreated() {
dontblock();
setshape2(2, 2, {22, 22, 22, 22});
}
-Johnaudi
It doesn't work ini my offline editor :c
How to contact me?
In-game name currently: ZombiEk" Ciprioni
Current gang owned: Mayhem
Skype: ek_graal
Facebook: Shannon Gallagher
Email: [email protected]
Push notifications: enabled
Ask me any questions/concerns!