"/dropcar" command makes pawno crash. -
Код:
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;
}
I messed around with it.. and it fucked it up, anyone fix it for me please?
Re: "/dropcar" command makes pawno crash. -