Compiling Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Compiling Error (
/showthread.php?tid=369145)
Compiling Error -
xSiiLenTx - 15.08.2012
C:\Users\Jalon\Documents\AFRP\AFRP\gamemodes\AFRP. pwn(87455) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I'm trying to compile. Help please? how can I fix this?
Re: Compiling Error -
Sniper Kitty - 15.08.2012
It means the function or callback on that line is not formatted properly.
i.e.
public OnPlayerDisconnected(playid, reasan) { return true; }
Will give that error because it's supposed to be,
public OnPlayerDisconnect(playerid, reason) { return true; }
Also, wrong section, post this stuff in the Scripting Help section.
Re: Compiling Error -
xSiiLenTx - 15.08.2012
Quote:
Originally Posted by Sniper Kitty
It means the function or callback on that line is not formatted properly.
i.e.
public OnPlayerDisconnected(playid, reasan) { return true; }
Will give that error because it's supposed to be,
public OnPlayerDisconnected(playerid, reason) { return true; }
Also, wrong section, post this stuff in the Scripting Help section.
|
Hey Sniperkitty! It's me, from LS-ERP, can you PM me? I got a server + hosted tab up, I'll give you the website