10.04.2010, 21:58
Код:
//--------------------------------[Nos]--------------------------------------------------- if(strcmp(cmd, "/nos", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 1337) { SendClientMessage(playerid, COLOR_LIGHTGREEN, " You are not authorized to use that command! !"); return 1; } if(IsPlayerInAnyVehicle(playerid)) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); SendClientMessage(playerid, COLOR_LIGHTGREEN, "Nos installed from car!"); } } return 1; }