Problem with ID 0 [ +Rep ] - 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: Problem with ID 0 [ +Rep ] (
/showthread.php?tid=323021)
Problem with ID 0 [ +Rep ] -
Larry123 - 04.03.2012
Hello
Even if i have 5 people online, my script think that there are only 1 witch is id 0
So
For example 1
I have /ban zcmd, i use /ban 3 ( ID 3 is online ), He should ban id 3, but script do the command like: /ban 0
So, every command where i have to put player id, it is automatically 0. Always, not only in command. in GetPVarInt is it always id 0, Text labels on player, where i have to put 3d text with id.
If you didn`t understand what i said please sai, becouse i need quick help :P
Thanks
Re: Problem with ID 0 [ +Rep ] -
Aira - 04.03.2012
Give us your Stuff.. Like, i doubt you have [MAX_PLAYERS] on a line :/
Re: Problem with ID 0 [ +Rep ] -
Larry123 - 04.03.2012
Where on a line ? What stuff you need?
Re: Problem with ID 0 [ +Rep ] -
rati555 - 04.03.2012
did you update sscanf?
Re: Problem with ID 0 [ +Rep ] -
thimo - 04.03.2012
Update your SSCANF
Re: Problem with ID 0 [ +Rep ] -
Larry123 - 04.03.2012
I updated sscanf, i downloaded that 8th update. Now any command donґt work.
Re: Problem with ID 0 [ +Rep ] -
rati555 - 04.03.2012
Did you recompile your script?