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



Help - H2S1 - 11.12.2014

hi I need help with some of these errors
C:\Users\sh\Desktop\lvrcr.pwn(2491) : warning 235: public function lacks forward declaration (symbol "GetDistanceBetweenPlayers")
C:\Users\sh\Desktop\lvrcr.pwn(2643) : warning 235: public function lacks forward declaration (symbol "BanExplosionone")
C:\Users\sh\Desktop\lvrcr.pwn(2649) : warning 235: public function lacks forward declaration (symbol "BanExplosiontwo")
C:\Users\sh\Desktop\lvrcr.pwn(3146) : warning 235: public function lacks forward declaration (symbol "PlayerVarDecrease")
C:\Users\sh\Desktop\lvrcr.pwn(5523) : warning 215: expression has no effect
C:\Users\sh\Desktop\lvrcr.pwn(5524) : warning 215: expression has no effect
C:\Users\sh\Desktop\lvrcr.pwn(554 : warning 202: number of arguments does not match definition
C:\Users\sh\Desktop\lvrcr.pwn(5549) : warning 202: number of arguments does not match definition
C:\Users\sh\Desktop\lvrcr.pwn(5550) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Warnings.


Re: Help - AdHaM612 - 11.12.2014

Copy the lines of these errors then paste them here.


Re: Help - Beckett - 11.12.2014

Code.


Re: Help - Galletziz - 11.12.2014

Quote:

C:\Users\sh\Desktop\lvrcr.pwn(2491) : warning 235: public function lacks forward declaration (symbol "GetDistanceBetweenPlayers")
C:\Users\sh\Desktop\lvrcr.pwn(2643) : warning 235: public function lacks forward declaration (symbol "BanExplosionone")
C:\Users\sh\Desktop\lvrcr.pwn(2649) : warning 235: public function lacks forward declaration (symbol "BanExplosiontwo")
C:\Users\sh\Desktop\lvrcr.pwn(3146) : warning 235: public function lacks forward declaration (symbol "PlayerVarDecrease")

you must declarate forward for this functions.
pawn Код:
forward PlayerVarDecrease(//arguments..);
public PlayerVarDecrease(//arguments..){
       return 1;
}



Re: Help - H2S1 - 17.12.2014

thx now working