Dialog Help
#5

Quote:
Originally Posted by TadePoleMG
Посмотреть сообщение
Hi mates

Example Dialog Code:
PHP код:
new string[128];
format(string,128,"1. Change Name\n2. Change Password");
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"Account Settings"string"Change""Close"); 
So, guys OnDialogResponse if Player money is less than $1000 then any of them list items can't be clickable and if player's money is greater than $1000 then both be clickable and pop up a new dialog for entering new name/pass.

How i do that?

Thank You, Help Please.
why not just

PHP код:
ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"Account Settings""1. Change Name\n2. Change Password""Change""Close"); 
Quote:
Originally Posted by TadePoleMG
Посмотреть сообщение
Thank You but i know this i want that id cash is less than $1000 then first list item can't be clickable means shows in dialog list but not clickable instead of error msg.
PHP код:
case 0:

    if(
GetPlayerMoney(playerid) < 1000) return ShowPlayerDialog(playerid1DIALOG_STYLE_LIST"Account Settings""1. Change Name\n2. Change Password""Change""Close"); 
    
//if got 1000 or above code here

Reply


Messages In This Thread
Dialog Help - by TadePoleMG - 05.07.2018, 12:18
Re: Dialog Help - by kovac - 05.07.2018, 12:34
Re: Dialog Help - by TadePoleMG - 05.07.2018, 12:41
Re: Dialog Help - by kovac - 05.07.2018, 12:49
Re: Dialog Help - by Lokii - 05.07.2018, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)