06.04.2011, 17:25
Guys can any1 help me i have the same problem.
C:\Users\Admin\Desktop\Modern DM\Modern DM skripta\gamemodes\ModernDM.pwn(230) : error 030: compound statement not closed at the end of file (started at line 177)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Heres the lines
C:\Users\Admin\Desktop\Modern DM\Modern DM skripta\gamemodes\ModernDM.pwn(230) : error 030: compound statement not closed at the end of file (started at line 177)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Heres the lines
Code:
{ if(dialogid == dialog_buy)//Kupovina guna, dijalog 100 { if(response) { if(listitem == 0)//M4 { GivePlayerWeapon(playerid, 31, 150); GivePlayerMoney(playerid, -600); return 1; } if(listitem == 1)//AK-47 { GivePlayerWeapon(playerid, 30, 150); GivePlayerMoney(playerid, -600); return 1; } if(listitem == 2)//Deagle { GivePlayerWeapon(playerid, 24, 50); GivePlayerMoney(playerid, -300); return 1; } if(listitem == 3)//Shotgun { GivePlayerWeapon(playerid, 25, 50); GivePlayerMoney(playerid, -600); return 1; } if(listitem == 4)//Uzi { GivePlayerWeapon(playerid, 32, 150); GivePlayerMoney(playerid, -400); return 1; } if(listitem == 5)//Tec9 { GivePlayerWeapon(playerid, 29, 150); GivePlayerMoney(playerid, -400); return 1; } if(listitem == 6)//Granata { GivePlayerWeapon(playerid, 16, 1); GivePlayerMoney(playerid, -50); return 1; } if(listitem == 7)//Smokebang { GivePlayerWeapon(playerid, 17, 1); GivePlayerMoney(playerid, -50); return 1; } }