SA-MP Forums Archive
Help with ID 0 - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with ID 0 (/showthread.php?tid=71215)



Help with ID 0 - modmk - 30.03.2009

Hey guys,

i had this problem a while ago and now it's back again -.-
for some reason the player with the playerid 0 always has problems, no matter what part of the script he's affected by...
i just don't f***ing know why and right now i just want this damn ID 0 to go away ^^

my question to you is if it would be possible to somehow "block" this ID so that no player gets the ID 0...
i don't care if this happens through scripting or with kind of a bot, i just want it to get blocked...


thanks again, modmk



PS: excuse my english ---> german dude :P


Re: Help with ID 0 - Mikep - 30.03.2009

All you can do is kick anyone who joins as ID 0, but then nobody would be able to join.

Prehaps SetUserId(playerid, playerid) could be in a future version.

worxds: How are people going to join if you do that..?


Re: Help with ID 0 - Mikep - 30.03.2009

Thats SO going in my sig!


Re: Help with ID 0 - Pyrokid - 30.03.2009

Lol.


Re: Help with ID 0 - (.Aztec); - 30.03.2009

In 0.3 you may be able to place a bot in your server, but until then, I don't really think there is much you can do.


Re: Help with ID 0 - ReV. - 31.03.2009

Quote:
Originally Posted by (.Aztec);
In 0.3 you may be able to place a bot in your server, but until then, I don't really think there is much you can do.
Does that have anything at all do to with the topic?..
Why would you need a bot in this case?


Re: Help with ID 0 - Pyrokid - 31.03.2009

Quote:
Originally Posted by Fatal
Quote:
Originally Posted by (.Aztec);
In 0.3 you may be able to place a bot in your server, but until then, I don't really think there is much you can do.
Does that have anything at all do to with the topic?..
Why would you need a bot in this case?
To occupy id 0.


Re: Help with ID 0 - modmk - 31.03.2009

so basicily what you're saying is that there's no way i can solve this problem until 0.3 gets rlsd?


Re: Help with ID 0 - Mikep - 31.03.2009

Why not try and fix the problem instead of trying to avoid it?


Re: Help with ID 0 - modmk - 31.03.2009

Quote:
Originally Posted by Mikep
Why not try and fix the problem instead of trying to avoid it?
i did, but somehow the problem is in EVERY function of my script and i worked over and over trying to fix this damn bug.
the problem is that i just can't find the source and i'm actually not willing to rewrite 10k lines ^^