Problm with main()
#1

Well i'm confuse with main() problem

See this error
Код:
D:\Test server\filterscripts\car_Valo.pwn(26) : error 001: expected token: ";", but found "-identifier-"
Number 26 is main(),well this is the code http://pastebin.com/cmQbvs25
Reply
#2

if u want to make a gamemode you have to delete

Код:
#if defined FILTERSCRIPT
 
public OnFilterScriptInit()
{
        print("\n--------------------------------------");
        print(" Blank Filterscript by your name here");
        print("--------------------------------------\n");
        return 1;
}
 
public OnFilterScriptExit()
{
        return 1;
}
 
#else


#endif
or if u want a fs delete

Код:
#if defined FILTERSCRIPT
#else
 
main()
{
        print("\n----------------------------------");
        print(" Blank Gamemode by your name here");
        print("----------------------------------\n");
}
#endif
 
public OnGameModeInit()
{
    valo = AddStaticVehicle(447,2492.49267578,-1666.58959961,13.44375038,88.00000000,-1,-1);
        return 1;
}
 
public OnGameModeExit()
{
        return 1;
}
Reply
#3

Still have a problem at main() -,-,i make a fs
Reply
#4

you dont need main with a fs ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)