26.09.2017, 02:28
Код HTML:
cmd:dropcar(playerid, params[]) { if(!IsPlayerConnected(playerid)) return 1; if(PlayerOnMission[playerid]) return SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command!"); 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, 2506.5625,-2630.6484,13.6467,8.0); } else { SendClientMessage(playerid, COLOR_GREY, " You already Dropped a car, wait till your reload time is over!"); } return 1; }