My servers fabled ID 0 bug
#1

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
Reply
#2

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.
Reply
#3

Bump
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)