Need correction[rep]
#7

Why you have 2x "if(response)" ??

pawn Код:
case DIALOG_WEAPONS:
        {
            if( response )
            {
                switch( listitem )
                {
                    case 0:
                    {
                            if(GetPlayerMoney(playerid) <= 1000);
                            {
                                echo(playerid,COLOR_DARKRED,"You have not enough money!");
                            }
                            else
                            {
                                GivePlayerWeapon(playerid, WEAPON_MP5, 50);
                                echo(playerid,COLOR_BLUE,"You baught a MP5 with 50 rounds of ammo!");
                            }
                    }
Reply


Messages In This Thread
Need correction[rep] - by smokeweed - 06.02.2012, 15:37
Re: Need correction[rep] - by Cameltoe - 06.02.2012, 15:41
Re: Need correction[rep] - by Twisted_Insane - 06.02.2012, 15:41
Re: Need correction[rep] - by [ABK]Antonio - 06.02.2012, 15:42
Re: Need correction[rep] - by smokeweed - 06.02.2012, 15:54
Re: Need correction[rep] - by Twisted_Insane - 06.02.2012, 16:18
Re: Need correction[rep] - by Michael@Belgium - 06.02.2012, 16:23
Re: Need correction[rep] - by smokeweed - 06.02.2012, 16:36
Re: Need correction[rep] - by Twisted_Insane - 06.02.2012, 16:40
Re: Need correction[rep] - by Michael@Belgium - 06.02.2012, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)