Player Dialog help please
#1

PHP код:
            case 3892:
            {
                switch(
listitem)
                {
                    case 
0:
                    {
                        new 
string[256];
                        
format(stringsizeof(string), "You have withdrawed $%s from your bank account"strlen(inputtext));
                        if(
Player[playerid][BankMoney] >= strlen(inputtext))
                        {
                            
Player[playerid][Money] += strlen(inputtext);
                            
Player[playerid][BankMoney] -= strlen(inputtext);
                            
SendClientMessage(playeridWHITEstring);
                        }
                        else
                        {
                            
SendClientMessage(playeridWHITE"You dont have that kind of money!");
                        }
                    }
                }
            } 
There is my code. When I type something in the text box that comes up and type something in, nothing happens.
Reply


Messages In This Thread
Player Dialog help please - by Nuke547 - 26.01.2012, 23:25
Re: Player Dialog help please - by Buzzbomb - 26.01.2012, 23:33
Re: Player Dialog help please - by Nuke547 - 26.01.2012, 23:52
Re: Player Dialog help please - by Buzzbomb - 27.01.2012, 01:01

Forum Jump:


Users browsing this thread: 1 Guest(s)