Need help with 0.3e
#1

whats wrong with this
pawn Код:
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(1436) : error 025: function heading differs from prototype
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(84666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
how i fix it
Reply
#2

pawn Код:
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(1436) : error 025: function heading differs from prototype
C:\Users\Snor!\Desktop\Real Life [ENG]\gamemodes\outlaw.pwn(84666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
The parameters of the public are different from the forward.
Reply
#3

You're probably using a different public name rewards to the forward.Ex:

You've a forward named Forward1 but the public is Forward2.

So you've to use the same name for public and forward.
Reply
#4

Ah Im dutch and my english aint this good Pls explain me some more so i can edit it thx anyway
Reply
#5

I dont get what to edit Please reply i gtg soon
Reply
#6

Show the lines ...
Reply
#7

how u mean the lines? I cant find forward.ex or forward1 pls explain me
Reply
#8

Post line 1436 and 84666 here first.
Reply
#9

pawn Код:
//Work
forward MyFunction();
public MyFunction()

//Don't work
forward MyFunction();
public MyFunction(playerid)
Reply
#10

Try adding a ; on the end
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)