19.07.2014, 17:41
Hello,
I was compiling my gamemode and it gave me these errors :
These are the lines :
Lines #70 - #80 :
Lines #190 - #200 :
Lines #580 - #590 :
Please helpme , I will give you +REP!
I was compiling my gamemode and it gave me these errors :
Code:
C:\Users\User\Desktop\DC\gamemodes\DC.pwn(76) : error 021: symbol already defined: "Time" C:\Users\User\Desktop\DC\gamemodes\DC.pwn(198) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(199) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(582) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(583) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(584) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(585) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(586) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(587) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(588) : error 076: syntax error in the expression, or invalid function call C:\Users\User\Desktop\DC\gamemodes\DC.pwn(589) : error 076: syntax error in the expression, or invalid function call Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 11 Errors.
Lines #70 - #80 :
Code:
new String[32];
format(String,sizeof(String),"%s",VehicleNames[GetVehicleModel(vehicleid) - 400]);
return String;
}
new Text:Time;
new Text:Time_Lib;
new Text:FM_LOGO[MAX_PLAYERS];
new Text:Player_Board[MAX_PLAYERS];
Code:
new HOUR[8], MINUTE[8];
if(SvrHour < 10){format(HOUR , sizeof(HOUR), "0%i", SvrHour );}else{format(HOUR , sizeof(HOUR), "%i", SvrHour);}
if(SvrMinute < 10){format(MINUTE, sizeof(MINUTE), "0%i", SvrMinute);}else{format(MINUTE, sizeof(MINUTE), "%i", SvrMinute);}
format(C_HOUR, sizeof(C_HOUR), "%s:%s", HOUR, MINUTE);
TextDrawSetString(Time, C_HOUR);
TextDrawShowForAll(Time);
Code:
Time = TextDrawCreate(556.000000, 31.000000, C_HOUR); TextDrawBackgroundColor(Time, 255); TextDrawFont(Time, 3); TextDrawLetterSize(Time, 0.439999, 1.399999); TextDrawColor(Time, -1); TextDrawSetOutline(Time, 0); TextDrawSetProportional(Time, 1); TextDrawSetShadow(Time, 1); Time_Lib = TextDrawCreate(546.000000, 23.000000, "Time :"); TextDrawBackgroundColor(Time_Lib, 255); TextDrawFont(Time_Lib, 1); TextDrawLetterSize(Time_Lib, 0.280000, 1.099998); TextDrawColor(Time_Lib, -1); TextDrawSetOutline(Time_Lib, 0); TextDrawSetProportional(Time_Lib, 1); TextDrawSetShadow(Time_Lib, 1);

