[HELP]While making a game mode....
#1

I get this error: C:\Users\Jalon\Documents\CGRP\CGRP\gamemodes\CGRP. pwn(87453) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.'Apparently, this is the thing that is making it do this:
Код:
public OnPlayerFloodControl(playerid, iCount, iTimeSpan) {
Help?
Reply
#2

You have a forwarded public function that differs from the name of another.
For example:
- You forwarded a function named "PointTimer"...
- Then you edited the function's name and forgot to edit it in the area where you forwarded at first...

Long story short, you have a forwarded function that you forgot to update it's name when you changed it.
Reply
#3

Should I just delete it? Thank you, but I can NOT find out where I messed up!
Reply
#4

Look at your forward functions, then follow each one untill you find it, and change it's forward to the correct name...Not easy, takes alot of time.
Reply
#5

What would the name be? I just now restarted this project XD
Reply
#6

I don't know, you have a forwarded function that doesn't match the public function.
Appearantly you changed the "public" partOR the "forwarded" part and forgot to change the other one.
So sync them up.

TIP: just check each forwarded function's name, then simply ctrl + f and search for "public [forwarded name]"
if you don't find it, then that's the missing fuction.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)