SA-MP Forums Archive
Checkpoint problem rep+ - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Checkpoint problem rep+ (/showthread.php?tid=608301)



Checkpoint problem rep+ - Mijata - 30.05.2016

Fixed


Re: Checkpoint problem rep+ - MBilal - 30.05.2016

You're using in first timer "is"
change it to "i" because u are using playerid only in timer.
Код:
DefuseTimer = SetTimerEx("DefuseBomb", 10000, false, "i", playerid);
Код:
  	if(checkpointid == PlantbombCP)
	{
	    if(gTeam[playerid] == C1 && BombPlanted))
		{
		    DefuseTimer = SetTimerEx("DefuseBomb", 10000, false, "i", playerid);
		    Defusing = 1;
		    GameTextForAll("~b~Army is trying to defuse the bomb!!~n~~r~Terrorists, Try to stop them!", 3000, 3);
		    return 1;
		}
		else return 0;
	}



Re: Checkpoint problem rep+ - Mijata - 30.05.2016

Thanks rep+