01.03.2018, 11:59
I'm actually trying to make a /weaponequip command on the FBI rancher and if the boot is open.
Now, how can i make it that when i enter /weaponequip (ID) M4 - for example, it equips a M4 to a player's hand?
Код:
if(sscanf(params, "ds", id, weap)) return SendClientMessage(playerid, COL_ERROR, "SERVER: /we(aponequip) (ID) smg|m4|sniper|deagle|armour");
Код:
if(IsAFBICar(vehicleid) { if( boot == 0 ) return SendClientMessage(playerid, COL_ERROR, "SERVER: The boot of the Federal Rancher is not open!"); if( boot == 1 ) I want help here