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



help error - kosa451 - 17.06.2014

Error

Код:
C:\Users\Linus\Desktop\SGAMING\filterscripts\phone.pwn(1677) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
(1677) public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
    return 1;
}



Re: help error - Faisal_khan - 17.06.2014

There is a space here Float: amount remove the space.


Re: help error - kosa451 - 17.06.2014

gets the same error


Re: help error - Faisal_khan - 17.06.2014

https://sampforum.blast.hk/showthread.php?tid=488198


Re: help error - Konstantinos - 17.06.2014

The a_samp.inc file you compile "phone" with is not for 0.3z and so the heading differs. Update the server package.