18.08.2012, 01:02
Hi Guys,
Plz Help Me TO Solve This Error
This Is The Scirpt Which I Got Error
Last Ending Script
Plz Help Me TO Solve This Error
Код:
C:\Users\hp\Desktop\Server\filterscripts\SA-MP.pwn(518) : warning 217: loose indentation C:\Users\hp\Desktop\Server\filterscripts\SA-MP.pwn(658) : error 030: compound statement not closed at the end of file (started at line 94) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Last Ending Script
pawn Код:
if(dialogid == DIALOGID7+18 && response)
{
switch(listitem)
{
case 0:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 1:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 2:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 3:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 4:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 5:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 6:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 7:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 8:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 9:
{
GivePlayerWeapon(playerid, 0, 5000);
}
case 10:
{
GivePlayerWeapon(playerid, 0, 5000);
}
}
}
return 1;
}
return 0;
}