Mission Checkpoints spam :D ???
#1

Hello,
i've got a little problem here.

pawn Код:
if (strcmp("/work", cmdtext, true, 10) == 0)
    {
        SetPlayerCheckpoint(playerid, 479.87573242188, 882.62823486328, -31.468822479248, 4.0);
        SendClientMessage(playerid,COLOR_YELLOW,"Go to the checkpoint to load.");
        return 1;
    }
and:

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    DisablePlayerCheckpoint(playerid);
    SetPlayerCheckpoint(playerid, 693.90051269531, 843.71759033203, -27.879653930664, 4.0);
    SendClientMessage(playerid,COLOR_BLUE,"Go to the next checkpoint to unload.");
    GivePlayerMoney(playerid, 1000);
    return 1;
}
so i wanna make that if someon types /work a checkpoint appear(works fine)
and if he rides into the checkpoint another checkpoint appears.
and then he get $1000 and the checkpoint disappears
But if he go into that other checkpoint it just appears again and again and again and it spams.

can someone help me? thanks
Reply


Messages In This Thread
Mission Checkpoints spam :D ??? - by duckie - 01.04.2011, 16:04
Re: Mission Checkpoints spam :D ??? - by swieberdevos - 01.04.2011, 16:07
Re: Mission Checkpoints spam :D ??? - by duckie - 01.04.2011, 16:13
Re: Mission Checkpoints spam :D ??? - by Jochemd - 01.04.2011, 16:27
Re: Mission Checkpoints spam :D ??? - by duckie - 01.04.2011, 16:46

Forum Jump:


Users browsing this thread: 4 Guest(s)