Pawno Giving Odd Lack of Errors [FIXED]
#1

So I'm currently working on a large scale project. I've decided to keep it as organized as possible so I've split the gamemode into several includes. However, for some reason occasionally the compiler will spit out some non-sense that I don't quite understand. Sometimes it will say that a certain function or variable doesn't exist when it quite obviously does. Currently, it's stating that there are no errors what-so-ever even though I've completely removed a particular function and am still trying to call it. Even when I completely make up a function it still compiles without errors. Anyone run into similar problems and were able to solve it?

Example code:

pawn Код:
public OnGameModeInit()
{
    //Debug//

    format(aPlayer[0][spName],24,"Bacon");
    format(aPlayer[0][spTitle],24,"None");
    aPlayer[0][fpHealth]=85.0;
    aPlayer[0][ipMoney]=50000;
    aPlayer[0][ipAdminRank]=5;
    SaveAccount(0,"Jimmy Frog"); //Function I have commented out
    doodycaca fungusface
   
    /////////
literally compiles without error






EDIT: lol, found the issue.

I placed faulty code in between the includes to determine where the main error was occuring, once i found out which include was doing it I removed each function until it compiled properly. After that I simply noticed that the function I had removed was missing a brace.

This is new behavior for me as far as missing braces go.
Reply


Messages In This Thread
Pawno Giving Odd Lack of Errors [FIXED] - by Joe Staff - 17.05.2012, 05:58

Forum Jump:


Users browsing this thread: 1 Guest(s)