Need your help in Eror #endif
#1

Hello.
I have a mod and it gives me such eror


Quote:

D: \ Games \ Modes for SAMP \ RP \ sss \ ss.pwn (47840): error 001: expected token: "# endif", but found "-end of file-"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

That Eror.
I name the best # endif down mode and compile me but it's not showing me Data Compilation
And amx is 91 bytes

If I have to put the endif at the bottom in public OnFilterScriptExit () do not have it if you need to put there tell me I will bring you the lines tell me where
Reply
#2

Remove
pawn Код:
#if defined FILTERSCRIPT
, the #else line and the #endif line from your script. It should fix it.

Edit: A script that is similar to this is the new.pwn in your pawno folder.

pawn Код:
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif
Reply
#3

is not work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)