How to add a SendMoney command MAX Money Limit
#7

PHP Code:
if((level 1) || (level 100000)) return SendClientMessage(playerid,0xFF0000AA,"The MAXIMUM Cash Amount is 1$ - 500.000$); 
Should be:

PHP Code:
if((inputtext 1) || (inputtext 100000)) return SendClientMessage(playerid,0xFF0000AA,"The MAXIMUM Cash Amount is 1$ - 500.000$); 
Note inputtext is defined under:

PHP Code:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[]) 
Inputtext means what the player typed in the dialog. So the text that the player typed in is called inputtext.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)