14.06.2014, 01:52
hi guys,
My problem is when I go in game and click on it, it won't popup and nothing happen pls someone help me here is the code
My problem is when I go in game and click on it, it won't popup and nothing happen pls someone help me here is the code

pawn Код:
new Snur[512];
switch(listitem)
{
case 0:
{
strcat(Snur, "Would you like to {1EEB02}ENABLE or {FF0202}DISABLE the God option?\n\n\n ");
format(Snur, sizeof(Snur), "%s If {1EEB02}ENABLED your health will refill every second.\nIf {FF0202}DISABLED your car will explode!",Snur);
ShowPlayerDialog(playerid, CPanel+1,DIALOG_STYLE_MSGBOX, "{FFFFA5}Godess", Snur, "ENABLE", "DISABLE");
}
case 1:
{
format(Snur, sizeof(Snur), "Would you like to {1EEB02}ENABLE or {FF0202}DISABLE the Car God option?\n\n\n");
format(Snur, sizeof(Snur), "%s If {1EEB02}ENABLED your vehicle's health will update every second.\nIf {FF0202}DISABLED you will die.",Snur );
ShowPlayerDialog(playerid, CPanel+2, DIALOG_STYLE_MSGBOX, "{FFFFA5}Car God", Snur, "ENABLE", "DISABLE");
}