SA-MP Forums Archive
All ID's returs to 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)
+--- Thread: All ID's returs to 0 (/showthread.php?tid=499106)



All ID's returs to 0 - Kenzix - 06.03.2014

Hello scripters..

I've downloaded a GM, made my self admin and didnt change anything els..

But now when i try to kick/teleport/setstats you name it, it always returns as ID 0.

Does anybody know how to fix this?


The GM i've downloaded was : Next Generation Gaming Roleplay + Next Evolution Roleplay By John Tyler.

Couldnt provide link somehow?


Re: All ID's returs to 0 - park4bmx - 06.03.2014

you need to provide code in this section!
go ask that on the main topic of the gamemode!


Re: All ID's returs to 0 - Kenzix - 06.03.2014

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
you need to provide code in this section!
go ask that on the main topic of the gamemode!
I cannot access the topic of the GM.

But i do have all the files intact, but i do not know where to look..
If you have an idea i can provide the source code?


Re: All ID's returs to 0 - CJay9209 - 06.03.2014

what script is it / has it been publicly released? if so VERY SPECIFICALLY explain the problem and we might be able to start narrowing it down for you


Re: All ID's returs to 0 - Kenzix - 06.03.2014

Here's a link to it

http://*******/acRqbA

And, basicly the problem is when i execute a command like "/kick 6" (ID 6), it will be ID 0 that would be kicked..
Same if i do "/makeleader 4 1" etc. it will be ID 0 aswell..


Re: All ID's returs to 0 - Konstantinos - 06.03.2014

Update the sscanf plugin.


Re: All ID's returs to 0 - Mark_Weston - 06.03.2014

You need to update the SSCANF plugin.

https://sampforum.blast.hk/showthread.php?tid=120356

Enjoy.


Re: All ID's returs to 0 - Kenzix - 07.03.2014

Now i get this in my log after i updated sscanf

Quote:

[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.
[18:51:22] sscanf error: System not initialised.




Re: All ID's returs to 0 - Konstantinos - 07.03.2014

After updating the sscanf plugin, update the sscanf2.inc file too and re-compile all your scripts that use sscanf.