PDA

View Full Version : Error 21


Badarau
25/05/2013, 10:46 AM
error 021: symbol already defined: "main"
And the lines:


new PlayerText:MainJobBox[MAX_PLAYERS],
PlayerText:JobMenuTD[MAX_PLAYERS],
PlayerText:PizzaBoxTD[MAX_PLAYERS],
PlayerText:MasterTrashBox[MAX_PLAYERS],
PlayerText:TaxiBox[MAX_PLAYERS],
PlayerText:PlumberBox[MAX_PLAYERS],
PlayerText:PizzaJobTD[MAX_PLAYERS],
PlayerText:TrashBoxTD[MAX_PLAYERS],
PlayerText:BusJobBox[MAX_PLAYERS],
PlayerText:TrasherTD[MAX_PLAYERS],
PlayerText:BusTD[MAX_PLAYERS],
PlayerText:JobExitTD[MAX_PLAYERS],
//
PlayerText:TrashMasterTD[MAX_PLAYERS],
PlayerText:TaxiTD[MAX_PLAYERS],
PlayerText:PlumberTD[MAX_PLAYERS],
PlayerText:PizzaJobDes[MAX_PLAYERS],
PlayerText:TrashJobDes[MAX_PLAYERS],
PlayerText:BusTDdes[MAX_PLAYERS],
//
PlayerText:TrashMasterTDdes[MAX_PLAYERS],
PlayerText:TaxiTDdes[MAX_PLAYERS],
PlayerText:PlumberTDdes[MAX_PLAYERS],

//================================================== =======================
//================================[(Player)Variables]======================
//================================================== =======================

InJob[MAX_PLAYERS],
CanJob[MAX_PLAYERS],
PizzaCP[MAX_PLAYERS],
TrashCP[MAX_PLAYERS],
TaxiCP[MAX_PLAYERS],
PlumberCP[MAX_PLAYERS],
TrashMasterCP[MAX_PLAYERS],
BusCP[MAX_PLAYERS],
Bus[5],
PizzaBike[5],
Trasher[5],
Plumber[5],
TrashMaster[5],
Taxi[5],

//================================================== =======================
//================================[Pickup Variables]=======================
//================================================== =======================

PizzaPickup,
TrashPickup,
BusPickup,
TrashMasterPickup,
TaxiPickup,
PlumberPickup;

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



I really don't know what to do...i can't delete one,cuz i get more errors...

Rep.

YoungLoko
25/05/2013, 10:55 AM
Try Opening Pawno And copying the


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

#endif

Then paste It over the one you have