Jump to content
  • 0

Problema la compile


SirFulgeruL

Question

Cand incerc sa compilez gamemode-ul imi da erorile acestea:

C:\Users\SEBAST~1\DOWNLO~1\BSGAMI~1\BSGAMI~1\BSGAMI~1\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition

C:\Users\SEBAST~1\DOWNLO~1\BSGAMI~1\BSGAMI~1\BSGAMI~1\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(1618) : error 021: symbol already defined: "Time"

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(4275) : error 021: symbol already defined: "OnPlayerUpdate"

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(5489) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22860) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22861) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22862) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22863) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22864) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22865) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22866) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22867) : error 076: syntax error in the expression, or invalid function call

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23238) : error 021: symbol already defined: "strtok"

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23253) : error 047: array sizes do not match, or destination array is too small

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(69398) : error 021: symbol already defined: "JBC_TempBanCheck"

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72759) : error 047: array sizes do not match, or destination array is too small

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72769) : error 047: array sizes do not match, or destination array is too small

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72888) : error 047: array sizes do not match, or destination array is too small

C:\Users\Sebastian\Downloads\bsGaming2\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72908) : error 047: array sizes do not match, or destination array is too small

C:\Users\Sebastian\Downloads\bsGaming2\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.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

1618-1620

new Text:Time;

new Text:Date;

new SwitchKey[MAX_PLAYERS];

4275-4292

{

if(!IsPlayerConnected(playerid)) return 0;

    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)

    {

        for(new i = 0; i < sizeof(SpikeInfo); i++)

      {

          if(IsPlayerInRangeOfPoint(playerid, 3.0, SpikeInfo[sX], SpikeInfo[sY], SpikeInfo[sZ]))

            {

              if(SpikeInfo[sCreated] == 1)

              {

                  new panels, doors, lights, tires;

                  new carid = GetPlayerVehicleID(playerid);

            GetVehicleDamageStatus(carid, panels, doors, lights, tires);

            tires = encode_tires(1, 1, 1, 1);

            UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);

                  return 0;

              }

5489-5496

}

public SetPlayerSpawn(playerid)

{

if(IsPlayerConnected(playerid))

{

    if(PlayerInfo[playerid][pTut] == 0)

    {

22860-22867

Time = TextDrawCreate(546.000000, 35.000000, "--");

TextDrawBackgroundColor(Time, COLOR_BLACK);

TextDrawFont(Time, 3);

TextDrawLetterSize(Time, 0.379999, 0.899999);

TextDrawColor(Time, COLOR_LIGHTBLUE);

TextDrawSetOutline(Time, 1);

TextDrawSetProportional(Time, 1);

TextDrawSetShadow(Time, 1);

69398-69409

{

    new string2[258];

new playername2[MAX_PLAYER_NAME];

new bancode[258];

    GetPlayerName(playerid, playername2, sizeof(playername2));

new year, month, day , hour, minute, second;

getdate(year, month, day);

gettime(hour, minute, second);

format(string2, sizeof(string2), "bans/%s.ini", playername2);

new File:tbcheck = fopen(string2, io_read);

if (tbcheck)

{

72759-72769

TBuilder=strtok(templine,idx); // read off RACEBUILDER

fread(f,templine,sizeof(templine)); // read off best race times

if(timemode ==1) fread(f,templine,sizeof(templine)); // read off best lap times

idx=0;

if(timemode == 0) format(ystring,sizeof(ystring),"%s by %s - Best race times:",tmp,TBuilder);

else if(timemode == 1) format(ystring,sizeof(ystring),"%s by %s - Best laps:",tmp,TBuilder);

else return 1;

SendClientMessage(playerid,COLOR_WHITE,ystring);

for(new i=0;i<5;i++)

{

    TempLapper=strtok(templine,idx);

72888-72890

CBuilder=strtok(templine,i); // read off RACEBUILDER

ORacemode = strval(strtok(templine,i)); // read off racemode

ORacelaps = strval(strtok(templine,i)); // read off amount of laps

72908-72915

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

    TopRacerTimes[j]=strval(strtok(templine,i));

}

fread(f,templine,sizeof(templine)); // read off best lap times

i=0;

for(new j=0;j<5;j++)

{

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

Link to comment
Share on other sites

Cinvea va rog?

Din cate vezi tu, noi respectam un regulament la aceasta sectiune, iar in acel regulament scrie clar ca nu ai voie sa faci "bump" sau "2x post" decat dupa 24 de ore de la ultimul post in topicul respectiv iar odata ce ai incalcat aceasta regula, trebuie sa iti inchid topicul.

Da de vreo 6-7 ori.

Realizezi ca trebuie sa il ai doar odata, nu?

Link to comment
Share on other sites

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.