17.10.2011, 12:41
pawn Код:
if(strcmp(cmd, "/minigames", true) == 0)
{
if(PlayerInfo[playerid][pLang1] == 1)
{
ShowPlayerDialog(playerid, 656454, DIALOG_STYLE_MSGBOX, "Language 1","Here is the text with language 1", #Ok, #);
return 1;
}
else if(PlayerInfo[playerid][pLang2] == 1)
{
ShowPlayerDialog(playerid, 656454, DIALOG_STYLE_MSGBOX, "Language 2", "Here is the text with language 2", #Ok, #);
return 1;
}
}