-_- error on another gm - 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: -_- error on another gm (
/showthread.php?tid=516924)
-_- error on another gm -
ashwinsekhari - 02.06.2014
this is the error im getting
Код:
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "foreach"
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 029: invalid expression, assumed zero
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "Player"
C:\Users\Ashwin\Desktop\Land of Paradise\gamemodes\COD6v3.pwn(4687) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
these are my lines having error no idea what to do
Код:
foreach(new i: Player)
{
SetPVarInt(i, "laser", 0);
SetPVarInt(i, "color", 18643);
}
Re: -_- error on another gm -
Parallex - 02.06.2014
#include <foreach> on top of your script.
Re: -_- error on another gm -
AhmedMohamed - 02.06.2014
download foreach include from here
http://www.solidfiles.com/d/694d30f354/foreach.inc
and put it in pawno/include file
then add this in a top of your script:
then compile
Re: -_- error on another gm -
ashwinsekhari - 02.06.2014
it is alredy there
Re: -_- error on another gm -
AhmedMohamed - 02.06.2014
update it