16.06.2010, 11:28
Код:
//givenos if(strcmp(cmd, "/givenos", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1) { new vehicleid; vehicleid = GetPlayerVehicleID(playerid); AddVehicleComponent(vehicleid, 1010); SendClientMessage(playerid,COLOR_YELLOW,"Dodali ste NOS u vozilo."); } else { SendClientMessage(playerid,COLOR_GREY, "Niste Admin !"); return 1; } } }