Playerid
#1

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
Reply
#2

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

oh ok
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)