07.05.2012, 10:21
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:
Thanks in advance!
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