SA-MP Forums Archive
[BUG] At 0.3e compile - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: [BUG] At 0.3e compile (/showthread.php?tid=359348)



[BUG] At 0.3e compile - Hip - 13.07.2012

Hi,
I came out that the forward mypublic (playerid) does not work cyklus "for" for playerid.
Work only for ID 0 but ID 1 and next IDs does'n work....
example:

forward MyPublic(playerid)

public MyPublic(playerid)
{
for(new i;i<MAX_PLAYERS;i++)
{
SetPlayerPos(i,x,y,z);
}
return 1;
}

this set position Only player with ID 0 but ID 1 etc. no. (with compile 0.3e)
PS: Sorry, my english isn't very good