26.09.2017, 02:24
Hey guys its posssible to convert this cmd in zcmd?
PHP код:
if(strcmp(cmd, "/dropcar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerOnMission[playerid] > 0)
{
SendClientMessage(playerid, COLOR_GREY, " On a mission right now, can't use this command!");
return 1;
}
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;
}