28.11.2010, 05:51
Hey guy, today isnt my day xD. Been running into multiple mistakes in my code and well im not sure whats wrong with this code:
It automatically says " You are already a citizen, even when you are not.
pawn Код:
if(!response)
{
if(PlayerInfo[playerid][pCitizen] == 0)
{
ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"Citizenship Information","How Old Are You?","Send","Cancel");
}
if(PlayerInfo[playerid][pCitizen] == 1) return SendClientMessage(playerid, COLOR_RED, "You Are Already A Citizen");
}