SA-MP Forums Archive
encode_lights - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: encode_lights (/showthread.php?tid=169926)



encode_lights - Typhome - 21.08.2010

Код:
C:\Program Files\SAMP Server\gamemodes\estprojekt.pwn(3392) : error 017: undefined symbol "encode_lights"
C:\Program Files\SAMP Server\gamemodes\estprojekt.pwn(6674) : error 017: undefined symbol "encode_lights"
C:\Program Files\SAMP Server\gamemodes\estprojekt.pwn(6680) : error 017: undefined symbol "encode_lights"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
What problem's? :S Im using the latest includes and files.


Re: encode_lights - Bumbis - 21.08.2010

encode_lights(light1, light2, light3, light4) {
return light1 | (light2 << 1) | (light3 << 2) | (light4 << 3);
}

Somewhere in your script.