14.01.2010, 09:58
Im making an adminscript but if i login in rcon and do /givepilot i give myself pilot. I want have that /givepilot [ID] works.
Anyone know how i make /givepilot [ID] ?
Anyone know how i make /givepilot [ID] ?
Код:
public OnPlayerCommandText(playerid, cmdtext[]) if(strcmp("/makepilot", cmdtext, true) == 0) { if(IsPlayerAdmin(playerid)) { SendClientMessage(playerid, 0xFF6600AA, "That player is now pilot!"); SetPlayerSkin(playerid, 61); IsPlayerAdmin(playerid); return 1; } return 1; }