ID 0 problem
#1

On my gamemode some scripts work only for id 0 but i have already defined
Код:
for (new i=0; i<MAX_PLAYERS; i++) { }
I have no idea what to do... Hope someony can help.

Greets
Reply
#2

scripts using timers ?
Reply
#3

Yes, the public function use 1 timer.
Reply
#4

Do not return inside that, like "return 1;" or "return 0;" or it will just end the whole loop.

If for some reason you want to skip to the next part, put "continue;", not return.
Reply
#5

for (new i=0; i<MAX_PLAYERS; i++) { }

did you try

for(new i; i<MAX_PLAYERS; i++) {

?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)