12.04.2009, 23:41
How can I create a checkpoint after another? I mean like this:
On player Spawn I create this checkpoint:
SetPlayerCheckpoint(playerid, -1394.9558,2646.2864,55.8605,3);
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~" Reached The First Location! ,3000,4);
But then when I enter how can I create A Checkpoint here:
-2240.6870,2351.4380,4.9785
Then when you enter that it say:
GameTextForPlayer(playerid, "~w~" Reached The Second Location! ,3000,4);
then when you enter it, thanks.
On player Spawn I create this checkpoint:
SetPlayerCheckpoint(playerid, -1394.9558,2646.2864,55.8605,3);
public OnPlayerEnterCheckpoint(playerid)
{
DisablePlayerCheckpoint(playerid);
GameTextForPlayer(playerid, "~w~" Reached The First Location! ,3000,4);
But then when I enter how can I create A Checkpoint here:
-2240.6870,2351.4380,4.9785
Then when you enter that it say:
GameTextForPlayer(playerid, "~w~" Reached The Second Location! ,3000,4);
then when you enter it, thanks.