08.02.2013, 09:57
if(strcmp(cmdtext,"/work",true)==0)
{
if(skin == 0)
{
ShowPlayerDialog(playerid,66,DIALOG_STYLE_LIST,"wh y work that not","please help","ok","oke");
return 1;
}
if(skin == 29)
{
ShowPlayerDialog(playerid,77,DIALOG_STYLE_LIST,"no t working","why?","ok","OK");
}
SendClientMessage(playerid,BLAU,"why?");
return 1;
}
at the top :
new skin;
i want to if i am skin 0 i want to see the first dialog and if i am 29 i want to see the second dialog and if i'm not 29 or 0 i want to see nothing
{
if(skin == 0)
{
ShowPlayerDialog(playerid,66,DIALOG_STYLE_LIST,"wh y work that not","please help","ok","oke");
return 1;
}
if(skin == 29)
{
ShowPlayerDialog(playerid,77,DIALOG_STYLE_LIST,"no t working","why?","ok","OK");
}
SendClientMessage(playerid,BLAU,"why?");
return 1;
}
at the top :
new skin;
i want to if i am skin 0 i want to see the first dialog and if i am 29 i want to see the second dialog and if i'm not 29 or 0 i want to see nothing