Jump to content
  • 0

Erori compilare gamemode.Pls ajutor!!


Question

Posted

Am descarcat de pe internet un gamemode pe care vreau sa il folosesc insa pe care nu il pot compila deoarece da urmatoarele erori:

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 (c) 1997-2006, ITB CompuPhase


19 Errors.

Liniile in cauza sunt urmatoarele:

[pawn]1618 new Text:Time;[/pawn]

[pawn]4274 public OnPlayerUpdate(playerid)

          4275{[/pawn]

[pawn]

5487 if(JobDuty[playerid] == 1) { Mechanics -= 1; }

5488}

        5489}[/pawn]

[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]

[pawn]

23237  strtok(const string[], &index)

23238  {[/pawn]

[pawn]

23252 result[index - offset] = EOS;

23253 return result;[/pawn]

[pawn]69397    public TempBanCheck(playerid)

69398    {[/pawn]

[pawn]72759 TBuilder=strtok(templine,idx); // read off RACEBUILDER[/pawn]

[pawn] 72769  TempLapper=strtok(templine,idx);[/pawn]

[pawn]72888 CBuilder=strtok(templine,i); // read off RACEBUILDER[/pawn]

[pawn]  72908 TopRacers[j]=strtok(templine,i);[/pawn]

[pawn]72915 TopLappers[j]=strtok(templine,i);[/pawn]

Va rog mult daca poate cineva sa isi dea seama de la ce sunt erorile.Eu sunt incepator, va rog sa nu ma luati cu faze de genu "noob" "cretin:,etc.

1 answer to this question

Recommended Posts

Posted

Salut.Updateazati serverul frate,ca de asta face asa nu tiai dat seama de la OnPlayerUpdate?

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.