Another problem with dialogs
#1

Ok,in my last topic i've fixed dialogs problem,but now i've another.

pawn Код:
if(listitem == 1)  // Suck
            {
            if(GetPlayerScore(playerid) < 90) //if dont have 90 score
            {
                 SendClientMessage(playerid,0xFF0000AA,"90 score needed.");
                 return 0;
            }
            else if(GetPlayerScore(playerid) > 90) //if he have
            {
               SetPlayerArmour(playerid, 100.0);
               GivePlayerWeapon(playerid, 35, 5);
            }
            }
The problem is: When i click on this and i've -90 score,i cant use it (it's normal),but it closes the dialog.

How to,when a player cant use this dialog,it will return to dialog menu?
Reply


Messages In This Thread
Another problem with dialogs - by Face9000 - 23.01.2011, 15:22
Re: Another problem with dialogs - by Think - 23.01.2011, 15:25
Re: Another problem with dialogs - by Mike Garber - 23.01.2011, 15:30
Re: Another problem with dialogs - by Face9000 - 23.01.2011, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)