21.12.2013, 23:02
The other days i have downloaded a gamemode from internet to use on my samp server,but it contains several errors wich doesen`t allow me to compile it.If it is someone here who can figure this out!Those are the errors:
The lines from the error raport are:
Please I am begging you to help me, I will be very grateful!And please dont call me "noob" or "idiot" I am new in scripting.
PS:I am sorry for my english!
Код:
C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(1618) : error 021: symbol already defined: "Time" C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(4275) : error 021: symbol already defined: "OnPlayerUpdate" C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(5489) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22860) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22861) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22862) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22863) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22864) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22865) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22866) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22867) : error 076: syntax error in the expression, or invalid function call C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23238) : error 021: symbol already defined: "strtok" C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23253) : error 047: array sizes do not match, or destination array is too small C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(69398) : error 021: symbol already defined: "JBC_TempBanCheck" C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72759) : error 047: array sizes do not match, or destination array is too small C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72769) : error 047: array sizes do not match, or destination array is too small C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72888) : error 047: array sizes do not match, or destination array is too small C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72908) : error 047: array sizes do not match, or destination array is too small C:\Users\Lenovo\Desktop\bsGaming1\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72915) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 19 Errors.
pawn Код:
1618 new Text:Time;
pawn Код:
4274 public OnPlayerUpdate(playerid)
4275{
pawn Код:
5487 if(JobDuty[playerid] == 1) { Mechanics -= 1; }
5488}
5489}
pawn Код:
22860 Time = TextDrawCreate(546.000000, 35.000000, "--");
22861 TextDrawBackgroundColor(Time, COLOR_BLACK);
22862 TextDrawFont(Time, 3);
22863 TextDrawLetterSize(Time, 0.379999, 0.899999);
22864 TextDrawColor(Time, COLOR_LIGHTBLUE);
22865 TextDrawSetOutline(Time, 1);
22866 TextDrawSetProportional(Time, 1);
22867 TextDrawSetShadow(Time, 1);
22868//===============================================================================================//
pawn Код:
23237 strtok(const string[], &index)
23238 {
pawn Код:
23252 result[index - offset] = EOS;
23253 return result;
pawn Код:
69397 public TempBanCheck(playerid)
69398 {
pawn Код:
72759 TBuilder=strtok(templine,idx); // read off RACEBUILDER
pawn Код:
72769 TempLapper=strtok(templine,idx);
pawn Код:
72888 CBuilder=strtok(templine,i); // read off RACEBUILDER
pawn Код:
72908 TopRacers[j]=strtok(templine,i);
pawn Код:
72915 TopLappers[j]=strtok(templine,i);
Please I am begging you to help me, I will be very grateful!And please dont call me "noob" or "idiot" I am new in scripting.
PS:I am sorry for my english!