
Well in this video i'll be showing u how to make Multiple Fast Commands to your script **--------------------If You Need Help Here--------------------** if (strcmp("/kill", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 0); return 1; } In this i was showing a command is going to set player hp 0 which is he's going to die if (strcmp("/heal", cmdtext, true, 10) == ); { SetPlayerHealth(playerid, 100); return 1; } In this i was showing a command that heal the player sets his health to 100 FULL HEALTH if (strcmp("/halfhp", cmdtext, true, 10) == ); { SetPlayerHealth(playerid, 50 return 1; } In this i was showing a command that heal the player sets his health to 50 HALF HEALTH if (strcmp("/ak cmdtext, true, 10) == ); { GivePlayerWeapon(playerid, 30, 10000); 30 = weapon id 10000 = bullets return 1; } In this i was showing a command that gives a player ak weapon and the other 3 ones was giving M4 and sniper just go on wiki and get weapon id and place it in the 30/31/34 those are the weapon ids i used and 10000 was bullets in this command if (strcmp("/teleport", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,coord:x,coord:y,coord:z); return 1; } In this i was showing a command that teleports a person to a place and like i said u can get the coords by gettin in a game and do /save and go to savedpositions.txt in sa-mp folder and take the first coords coord:x is the first one between 2 dots for EX: 2222.2222, this is coord:x coord:y will be same to but after 2222.2222,another <b>...</b>
SAMP
SA-MP
Pawno
Scripting
Server
Commands