27.12.2010, 09:47
Quote:
if(strcmp(cmd, "/neonshop", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pLCAdmin] >= 1340) { SetPlayerInterior(playerid,0); { if(State!=PLAYER_STATE_DRIVER) { SetPlayerPos(playerid,-1980.0026,474.2643,29); } else if(IsPlayerInVehicle(playerid, cartype) == 1) { SetVehiclePos(cartype,-1980.0026,474.2643,29); SetVehicleZAngle(cartype,180.1530); } else { SetPlayerPos(playerid,-1980.0026,474.2643,29); } SendClientMessage(playerid, COLOR_YELLOW,"Type /neon in the garage to pick a neon "); } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } } } } return 1; } |