SA-MP Forums Archive
Boot/Trunk - 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: Boot/Trunk (/showthread.php?tid=265668)



Boot/Trunk - Glorian - 01.07.2011

Hello!

I get this error when i try to add alarm/lights and such onto vehicles.

Код:
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(294) : warning 235: public function lacks forward declaration (symbol "timer_fuel_lower")
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(297) : error 017: undefined symbol "isrefuelling"
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(297) : warning 215: expression has no effect
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(297) : error 001: expected token: ";", but found "]"
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(297) : error 029: invalid expression, assumed zero
C:\GTA Trucking Server\Test Script Server\gamemodes\khaos.pwn(297) : fatal error 107: too many error messages on one line

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


4 Errors.
CODE: http://pastebin.com/BWKPZ9Kd


Re: Boot/Trunk - =WoR=Varth - 02.07.2011

I see you're using fuel system FS.
Add this:
pawn Код:
forward timer_fuel_lower() //On top of your script
new bool:isrefuelling[MAX_PLAYERS]  //On top of your script