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



Playerid - Ironboy500 - 30.11.2009

Help me! I changed "killerid" to "playerid" in OnVehicleDeath and I got following error:

Quote:

I:\none\gamemodes\FiremansInAction.pwn(255) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

How to fix?
Thanks! :P


Re: Playerid - Correlli - 30.11.2009

OnVehicleDeath doesn't have 'playerid' param, you can't just change SA:MP's callback parameters.


Re: Playerid - Ironboy500 - 30.11.2009

oh ok