[SOLVED]4 invalid function or declaration
#3

Quote:
Originally Posted by ViruZZzZ_ChiLLL
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
new Money = GetPlayerMoney(playerid);
if(dialogid == 1)
{
if(response)
{
if(listitem == 0)
{
if(Money > 49)
{
SendClientMessage(playerid, 0x21DD00FF, "You Bough A Desert Deagle");
GivePlayerWeapon(playerid,24,50);
GivePlayerMoney(playerid,-50);
}
}
}
}

if(listitem == 1)//Line 411
{
if(Money > 74)//Line 413
{
SendClientMessage(playerid, 0x21DD00FF, "You Bough A Country Rifle");
GivePlayerWeapon(playerid,33,30);
GivePlayerMoney(playerid,-75);
}
else//Line 419
{
SendClientMessage(playerid, 0x21DD00FF, "You Exited From Shop Menu");
}
return 1;//Line 423
}
Remove the extra bracket

I think...
If I remove It Gave Me More Errors
Reply


Messages In This Thread
[SOLVED]4 invalid function or declaration - by eDz0r - 22.05.2010, 12:51
Re: [HELP]4 invalid function or declaration - by ViruZZzZ_ChiLLL - 22.05.2010, 12:52
Re: [HELP]4 invalid function or declaration - by eDz0r - 22.05.2010, 12:53
Re: [HELP]4 invalid function or declaration - by Gamer_Z - 22.05.2010, 13:11
Re: [HELP]4 invalid function or declaration - by eDz0r - 22.05.2010, 13:16
Re: [SOLVED]4 invalid function or declaration - by Gamer_Z - 22.05.2010, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)