10.06.2011, 17:23
Hello guys!
I am making my Bus Job system, and i want it to display a checkpoint, the player go there and earn 10$, then, it display an other checkpoint, bla bla bla....
I've made a checkpoint that does this, but it is only one.
When the player go there, he earn the money but it doesn't display an other checkpoint in other side...
My code is:
How do i make it to multiple checkpoints?
Thank you in advance.
I am making my Bus Job system, and i want it to display a checkpoint, the player go there and earn 10$, then, it display an other checkpoint, bla bla bla....
I've made a checkpoint that does this, but it is only one.
When the player go there, he earn the money but it doesn't display an other checkpoint in other side...
My code is:
pawn Код:
COMMAND:startbroute1(playerid, params[])
{
if(PlayerInfo[playerid][Fmember] == 6)
{
SetPlayerCheckpoint(playerid, 1239.824462, -1716.014770, 13.385701, 3.0);
return 1;
}
else return SendClientMessage(playerid, 0xFFFF00, "You are not Bus Driver.");
}
public OnPlayerEnterCheckpoint(playerid)
{
GivePlayerMoney(playerid, 10);
DisablePlayerCheckpoint(playerid);
return 1;
}
Thank you in advance.