Compiling Error
#1

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

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.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)