12.09.2011, 00:23
When I drive to the checkpoint, it freezes me and says "Unloading..." But it never unfreezes me, what's wrong with it? Thanks for your help.
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
TogglePlayerControllable(playerid, 0);
SetTimer("Unloading...", 5000, false);
GameTextForPlayer(playerid, "~g~Unloading...", 5000, 5);
GivePlayerMoney(playerid, 7500); //You can edit this
SendClientMessage(playerid, blue, "Congratulations, you have earned 7500"); //You can edit this
DisablePlayerCheckpoint(playerid);
return 1;
}
forward Unloading(playerid);
public Unloading(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}