11.05.2011, 22:33
I am making a system so players in my server can do "Mini-Missions". Currently it's set up so when the enter a checkpoint it increases a variable, and sets the next checkpoint. Is there a better way I can go about doing this? Heres an example of what I have:
Код:
if(GetPVarInt(playerid, "Progress") == 1)
{
SetPVarInt(playerid, "Progress", pProgress);
SetPlayerCheckpoint(playerid, 1399.4467, 1901.4362, 10.6995, 3);
SetTimerEx("Unfreeze", 2500, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "Unloading...", 3000, 5);
}


