SA-MP Forums Archive
Commands wont work for ID 0, but other id's can use commands - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Commands wont work for ID 0, but other id's can use commands (/showthread.php?tid=518251)



Commands wont work for ID 0, but other id's can use commands - Socan - 09.06.2014

title pretty much explains it all, ID 0 will not do any command, no error message or anything it just doesnt work while player ID 1 and above will use the command fine. any ideas on how to fix?


Re: Commands wont work for ID 0, but other id's can use commands - Abagail - 09.06.2014

To Quote ******:
And are we meant to guess your code?


Re: Commands wont work for ID 0, but other id's can use commands - Socan - 09.06.2014

Thats not what I'm asking for..
I'm just asking is there anything that mainly causes this problem?


Re: Commands wont work for ID 0, but other id's can use commands - DobbysGamertag - 09.06.2014

Provide us with example code.


Re: Commands wont work for ID 0, but other id's can use commands - Abagail - 09.06.2014

I think your best bet is to show us the code. This issue isn't really sparking anything in my brain.


Re: Commands wont work for ID 0, but other id's can use commands - Socan - 09.06.2014

I'd show the code but its almost 90 thousand lines long.

It was all working well and then I added the new skin system, changed dialogs/added new dialogs and some other small stuff and now no commands will work for ID 0.


Re: Commands wont work for ID 0, but other id's can use commands - Parallex - 09.06.2014

Do you have NPCs?