Compiler 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: Compiler error (
/showthread.php?tid=599302)
Compiler error -
iKevin - 24.01.2016
Код:
C:\Users\Kevin Burke\Desktop\CGRP\Backup\CGRP\gamemodes\CG-RPv1.pwn(5310) : error 025: function heading differs from prototype
C:\Users\Kevin Burke\Desktop\CGRP\Backup\CGRP\gamemodes\CG-RPv1.pwn(29214) : warning 206: redundant test: constant expression is non-zero
C:\Users\Kevin Burke\Desktop\CGRP\Backup\CGRP\gamemodes\CG-RPv1.pwn(64622) : warning 204: symbol is assigned a value that is never used: "type"
C:\Users\Kevin Burke\Desktop\CGRP\Backup\CGRP\gamemodes\CG-RPv1.pwn(105367) : warning 217: loose indentation
C:\Users\Kevin Burke\Desktop\CGRP\Backup\CGRP\gamemodes\CG-RPv1.pwn(105512) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
This is the line 5310
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
Any help?
Re: Compiler error -
Runn3R - 24.01.2016
You're probably using the old a_samp.inc (before 0.3z)
Re: Compiler error -
iKevin - 24.01.2016
Can you give me other one?
Re: Compiler error -
Runn3R - 24.01.2016
http://www.sa-mp.com/
Download the windows server package and open up pawno > include > copy/paste a_samp.inc and place it in your old pawno.
Re: Compiler error -
iKevin - 24.01.2016
Thanks, I'll try
Re: Compiler error -
iKevin - 24.01.2016
Could it also be anything else?