settimer died? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: settimer died? (
/showthread.php?tid=127854)
settimer died? -
braduz - 15.02.2010
public checkup()
{ //1
for(new i=0; i<MAX_PLAYERS; i++)
{ //2
if(IsPlayerInRangeOfPoint(i, 1.0, 256.9511,1802.0492,7.5494))
{ //3
SetPlayerPos(i,2543.2554,-1306.0792,1025.0703 );
SetPlayerInterior(i, 2);
} // ! This here bracket was missing, you opened a third bracket and didn't close it.
else if(IsPlayerInRangeOfPoint(i, 1.0, 1685.9564,964.1009,10.7590))
{ // Four
SetPlayerPos(i,2543.2554,-1306.0792,1025.0703 );
} // End of the bracket Four
else if(IsPlayerInRangeOfPoint(i, 1.0, 1685.9564,964.1009,19.7590))
{ // Four
SetPlayerPos(i,2543.2554,-1306.0792,1025.0703 );
} // End of the bracket Four // END OF BRACKET TWO.
return 1;
} // We didn't need a bracket here because he doesn't close anything
} // End of the bracket first which opened this public checkup// End of the bracket first which opened this public checkup
this code doesnt work...
i goto the points, no change :S :S