SA-MP Forums Archive
Compile error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Compile error (/showthread.php?tid=305634)



Compile error - ergan - 23.12.2011

hi all... i was fixing /tmenu and i got those errors :

D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : warning 217: loose indentation
D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : error 014: invalid statement; not in switch
D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : warning 215: expression has no effect
D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : error 001: expected token: ";", but found ":"
D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : error 029: invalid expression, assumed zero
D:\GTASAN~1\SATDM~~2\GAMEMO~1\SATDM_v9.pwn(18709) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


here is the line:
case 8: // Exit
{
HideMenuForPlayer(Current, playerid);
TogglePlayerControllable(playerid,true);
}
}
}


Re: Compile error - §с†¶e®РµРe - 23.12.2011

1.Use pawn tags
2.give line numbers


Re: Compile error - ergan - 23.12.2011

oh ty all but i fixed it i.... delete all gamemode and edit it again


Re: Compile error - James Coral - 23.12.2011

Lol!!! why there is Case8:Exit?