Yes/No in format
#1

Hello everyone!

I am making a /stats command, but i am stuck here :\

I want to display if the player has a mask yes or no, and that when the variable is 1, it shows yes, and when the variable is 0 it shows no..

I know solution, but my way it will be very messy and big, so i hope someone can help me with this.

Example:

pawn Код:
format(stats2,sizeof(stats2),"Mask: "// idk how to make this display yes/no

if(GetPVarInt(playerid,"Mask") == 1) //display Yes in the message
if(GetPVarInt(playerid,"Mask") == 1) //display No  in the message
Thanks in advance!
Reply


Messages In This Thread
Yes/No in format - by Jstylezzz - 07.05.2012, 10:21
Re: Yes/No in format - by [MG]Dimi - 07.05.2012, 10:33
Re: Yes/No in format - by Jstylezzz - 07.05.2012, 10:37
Re: Yes/No in format - by Disturn - 07.05.2012, 10:45
Re: Yes/No in format - by Jstylezzz - 07.05.2012, 10:47
Re: Yes/No in format - by Jstylezzz - 07.05.2012, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)