Can someone explain?
#1

for some reason, my server works fine when im the only one in (id 0) but when multiple people come in, the text draws stop working and the timers go all crazy and everything gets bugged.... why is this happening and how do i fix it?

edit: heres my script: http://pawn.pastebin.com/m6ce2aa87
Reply
#2

ur code,plz^^
Single-test really different from multi-test.
Reply
#3

ok code in edit, thanks for helping.
Reply
#4

Quote:
Originally Posted by Pastebin
Unknown post id, it may have expired or been deleted
Reply
#5

In past when I had those problems with id 0, it was because a loop.
It's like you have players loop, loop that loops itself 200 times (MAX_PLAYERS = 200)
If you do like
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)
And in side the loop you do something with playerid, instead of i
Probably you were ID 0 and playerid = the player who writes the command.
So it's been looping on yourself. (id 0)
Reply
#6

Sry for late..
Link error,cannot open ur paste...
Reply
#7

Quote:
Originally Posted by MenaceX^
In past when I had those problems with id 0, it was because a loop.
It's like you have players loop, loop that loops itself 200 times (MAX_PLAYERS = 200)
If you do like
pawn Код:
for(new i=0;i<MAX_PLAYERS;i++)
And in side the loop you do something with playerid, instead of i
Probably you were ID 0 and playerid = the player who writes the command.
So it's been looping on yourself. (id 0)
Uhm, by default yes...
But MAX_PLAYERS = whatever you set it as in a_samp.inc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)