More efficient way?
#1

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


Messages In This Thread
More efficient way? - by ScottCFR - 11.05.2011, 22:33
Respuesta: More efficient way? - by admantis - 11.05.2011, 23:21
Re: More efficient way? - by ScottCFR - 11.05.2011, 23:41
Re: More efficient way? - by Steven82 - 11.05.2011, 23:58
Re: More efficient way? - by ScottCFR - 12.05.2011, 00:59
Re: More efficient way? - by (SF)Noobanatior - 12.05.2011, 05:12
Re: More efficient way? - by leong124 - 12.05.2011, 05:59
Re: More efficient way? - by Cameltoe - 12.05.2011, 07:28

Forum Jump:


Users browsing this thread: 1 Guest(s)