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