SA-MP Forums Archive
[HELP] VIP level in /remotecheck - 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] VIP level in /remotecheck (/showthread.php?tid=159336)



[HELP] VIP level in /remotecheck - Dennis - 13.07.2010

In my server, I have /remotecheck. It shows stuff like last login, last IP and such and such. I added VIP level and did %s and it show's last IP. I did %d and it shoes 55 for everyone. Can someone help me? Thanks


Re: [HELP] VIP level in /remotecheck - lacalau33 - 13.07.2010

Is %d supposed to display the ip?


Re: [HELP] VIP level in /remotecheck - Dennis - 13.07.2010

Quote:
Originally Posted by lacalau33
Посмотреть сообщение
Is %d supposed to display the ip?
Yes, it's the other way around though. Still, can anyone help?


Re: [HELP] VIP level in /remotecheck - DJDhan - 13.07.2010

IP is considered a string and hence %s.
%d is for integers.
%f is for floats etc.


Re: [HELP] VIP level in /remotecheck - CuervO - 13.07.2010

You may have placed the %s in the wrong place at the formatting, Show the code...


Re: [HELP] VIP level in /remotecheck - -Rebel Son- - 13.07.2010

Yeah show some code, you may have set the rong format like Cuervo said.