04.05.2009, 10:38
Код:
if(strcmp(cmd, "/dropcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pCarTime] == 0) { GameTextForPlayer(playerid, "~w~Car Selling ~n~~r~Drop the car at the Crane", 5000, 1); CP[playerid] = 1; SetPlayerCheckpoint(playerid, -1548.3618,123.6438,3.2966,8.0); } else { SendClientMessage(playerid, COLOR_GREY, " You already Dropped a car, wait till your reload time is over !"); } } }//not connected return 1; }