SA-MP Forums Archive
Script 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Script Error (/showthread.php?tid=76752)



Script Error - Austin_Lynn - 06.05.2009

Код:
C:\Documents and Settings\Austin\Desktop\LSL-RP\gamemodes\LSL-RP.pwn(18913) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
This is what it on that line

public OnPlayerKeyStateChange(playerid, newstate, oldstate)
{

I have forward OnPlayerKeyStateChange(playerid, newstate, oldstate);
On top of script like I should, What is wrong?


Re: Script Error - Backwardsman97 - 06.05.2009

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)



Re: Script Error - Austin_Lynn - 06.05.2009

Quote:
Originally Posted by backwardsman97
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
Thanks, alot!


Re: Script Error - Backwardsman97 - 06.05.2009

Quote:
Originally Posted by Austin_Lynn
Quote:
Originally Posted by backwardsman97
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
Thanks, alot!
No prob.