AntiRapid fire FS problem
#1

i got problem in this filterscripts, i got it from here https://sampforum.blast.hk/showthread.php?tid=496339

Код:
C:\Users\Louis Alcosaba\Desktop\antirapid.pwn(21) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
line 21
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
help
Reply
#2

Are you using samp 0.3z or higher?

https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot

Quote:
Originally Posted by SA-MP wiki
This callback was added in SA-MP 0.3z and will not work in earlier versions!
Reply
#3

Yes, 0.3z. So you mean it won't work now?
Reply
#4

If you're using a 0.3z or a higher version of samp, the callback OnPlayerWeaponShot should be forwarded in the a_samp.inc.

Quote:
Originally Posted by A_SAMP.INC
/* SA-MP Functions
*
* © Copyright 2005-2014, SA-MP Team
*
*/

forward OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ);

// --------------------------------------------------
You sure you updated all the files when you updated to 0.3z? Either you didn't, either you deleted that forward by yourself(wich i don't think lol). So you'd better update again to the last 0.3z.
Reply
#5

Ok, fixed thanks! rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)