What's wrong with this part of my script?
#1

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;
}
Reply


Messages In This Thread
What's wrong with this part of my script? - by rangerxxll - 12.09.2011, 00:23
Re: What's wrong with this part of my script? - by Dr - 12.09.2011, 00:25
Re: What's wrong with this part of my script? - by PrawkC - 12.09.2011, 00:26
Re: What's wrong with this part of my script? - by AceFlyer - 12.09.2011, 02:14
Re: What's wrong with this part of my script? - by [MG]Dimi - 12.09.2011, 06:21

Forum Jump:


Users browsing this thread: 1 Guest(s)