06.11.2010, 12:41
You can make it shorter to save diskspace:
Please note that you need the include 'zcmd' for this
pawn Код:
CMD:nos(playerid, params[])
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
else return SendClientMessage(playerid, 0xFFFFFFFF, "You must be in a vehicle to use this command.");
}