SA-MP Forums Archive
My servers fabled ID 0 bug - 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: My servers fabled ID 0 bug (/showthread.php?tid=298227)



My servers fabled ID 0 bug - HALDIR192 - 19.11.2011

Okay, so my server has a ID 0 bug, it means that if there are any players above the id of 3 and we try any command that involves someone id 4 +, lets say /gotoid 4 if I tried that I would goto the person with ID 0, can anyone please tell me what I could do to fix this as I am very desperate and it is the only main bug with my script


Re: My servers fabled ID 0 bug - Zipp. - 19.11.2011

This probably isn't the case, but:

Does your script have a MaxPlayers define? If so, set that to the amount of slots that you have. The same issue happened to a friend of mine, but lo' and behold, this was the cause.


Re: My servers fabled ID 0 bug - HALDIR192 - 20.11.2011

Bump


Re: My servers fabled ID 0 bug - manchestera - 20.11.2011

I had this problem with eciplse GM im not sure what i had before but if u look at this line of code i change the letter to "d" in it with every cmd that used a players id and it worked

Код:
if ( sscanf( params, "d", params[ 0 ]) )return SendUsage( playerid, "/slap <id>" );
Post a cmd that uses id on here would help