HELP ME
#3

Fix this please too.
Error:-
warning 235: public function lacks forward declaration (symbol "OneDialogResponse")

Код:

public OneDialogResponse(playerid, dialogid, response, listitem, inputext[]) // <== MAin error line
{
	new HP;
	if(response)
	{
	    switch(dialogid)
	    {
	        case 1:
	        {
	            switch(listitem)
	            {
	                case 0:
	                {
	                GivePlayerMoney(playerid, -4);
	                SetPlayerHealth(playerid,(HP+5));
	                GivePlayerMoney(playerid, -4);
	                }
	                case 1:
	                {
	                GivePlayerWeapon(playerid, 5, 100);
	                GivePlayerMoney(playerid, -10);
	                }
	                case 2:
	                {
	                SetPlayerSpecialAction(playerid, 20);
	                GivePlayerMoney(playerid, -3);
	                SetTimer("beer",25000,false, "i", playerid);
                 }
			  }

           }
        
        }
     return 1;
    }
  return 0;
}
]
Reply


Messages In This Thread
HELP ME - by Trollerz - 16.08.2015, 00:47
Re: HELP ME - by UnDetectable - 16.08.2015, 00:50
Re: HELP ME - by Trollerz - 16.08.2015, 00:53
Re: HELP ME - by Variable™ - 16.08.2015, 01:03
Re: HELP ME - by UnDetectable - 16.08.2015, 01:10
Re: HELP ME - by Trollerz - 16.08.2015, 01:14
Re: HELP ME - by UnDetectable - 16.08.2015, 01:15
Re: HELP ME - by Variable™ - 16.08.2015, 01:15
Re: HELP ME - by Trollerz - 16.08.2015, 01:18
Re: HELP ME - by Variable™ - 16.08.2015, 01:21

Forum Jump:


Users browsing this thread: 2 Guest(s)