Information - 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: Information (
/showthread.php?tid=508888)
Information -
TLN - 24.04.2014
When you spectate someone, it's supposed to show and update the information about the target, but it shows your own information.
Re: Information -
Roel - 24.04.2014
No it shows the information of playerid 0.
Because you only defined : OtherPlayer
You didn't set a value to it, which makes it default zero.
You have to set the variable OtherPlayer to the playerid that you are spectating.
Re: Information -
TLN - 24.04.2014
Oh, my mistake, thanks.