SA-MP Forums Archive
User Panel - Need Help - 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: User Panel - Need Help (/showthread.php?tid=312897)



User Panel - Need Help - EleMenTalL - 23.01.2012

I don`t know if i posted where it suposed but i need som help....

I have the following question..
How can i do that if a member have value "1" in Donate level to show in my rpg stats "Yes" and if it "0" to show "No.
Or if a member it's in faction "1" to show "Police Department" or if member is leader to one faction to show "Yes"

I just want to make some how when the php script read 1 or 10 etc from mysql to auto-corect and show "yes" "no" or Police departament or N.G f.b.i at job the same 1 = detective etc and so on, i think you got the ideea .


Re: User Panel - Need Help - Vince - 23.01.2012

PHP код:
echo "Premium: ", ($premiumvar 0) ? "Yes" "No"
Something like that.


Re: User Panel - Need Help - EleMenTalL - 23.01.2012

Quote:
Originally Posted by Vince
Посмотреть сообщение
PHP код:
echo "Premium: ", ($premiumvar 0) ? "Yes" "No"
Something like that.
Thanks very much for the help !
I solved it some how.
I need just to make a good css and to pur one image with skin id and one image with the car :d

THanks again mate.

SOLVED