Jump to content
  • 0

Warnings


CristyRo

Question

Dupa ce am rezolvat erorile am primit 6 warnings de la Gang Zone

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(624) : warning 217: loose indentation

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(1394) : warning 217: loose indentation

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(1394) : warning 215: expression has no effect

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(1454) : warning 217: loose indentation

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(11998) : warning 202: number of arguments does not match definition

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(619) : warning 204: symbol is assigned a value that is never used: "bLackLisT"

//ZONES
//==============================================================================
   bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);
    Streamer_TickRate(30);				SetGameModeText("Romanian Server (RO/ENG)");
//ZONES
//==============================================================================
     GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);
     return 1;
}
	SetPlayerInterior(playerid, 0);
CMD:lv(playerid, params[])          return TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);

Link to comment
Share on other sites

24 answers to this question

Recommended Posts

Primul warning//ZONES

//==============================================================================

  bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);

Al doilea  Streamer_TickRate(30); SetGameModeText("Romanian Server (RO/ENG)");

Al treilea //ZONES

//==============================================================================

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

}

Al patrulea    SetPlayerInterior(playerid, 0);

Al cincilea CMD:lv(playerid, params[])          return TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);

 

Link to comment
Share on other sites

[pawn]//==============================================================================

bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);

    Streamer_TickRate(30);

SetGameModeText("Romanian Server (RO/ENG)");

//==============================================================================

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

}

SetPlayerInterior(playerid, 0);

CMD:lv(playerid, params[]) {

TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);

return 1;

}[/pawn]

Daca mai primesti erori, arata publicul TPlayer si erorile.

Link to comment
Share on other sites

In locul astora:

[pawn]//ZONES

//==============================================================================

  bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);

    Streamer_TickRate(30); SetGameModeText("Romanian Server (RO/ENG)");

//ZONES

//==============================================================================

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

}

    SetPlayerInterior(playerid, 0);

CMD:lv(playerid, params[])          return TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);[/pawn]

Link to comment
Share on other sites

Ai 5 linii cu erori.

Arata`le si evidentiaza`le sa imi pot da si eu seama.

Ce destept esti ma, cica erori.

Uita-te mai bine ca sunt warning-uri,si pozitia script-ului nu este cum trebuie d'aia apar.

"Maxim respect pentru orice proiect

Nimeni nu poate sa va scape cand va execut direct"

Link to comment
Share on other sites

Dar unde se pun ca sa nu mai apara? eu am asa din Xtreme Vehicle Potter si eu le-am pozitionat cum imi arata acici //======================

// Above OnGameModeInit:

new bLackLisT;

// OnGameModeInit Insert

public OnGameModeInit() {

    bLackLisT = GangZoneCreate(910.8743, 1599.869, 1027.653, 1821.749);

    return 1;

}

// Player Spawn

public OnPlayerSpawn(playerid) {

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

}

//======================

Link to comment
Share on other sites

[pawn]//ZONES

//==============================================================================

bLackLisT = GangZoneCreate(128.4566, -326.9805, 385.3699, 58.38938);

Streamer_TickRate(30); SetGameModeText("Romanian Server (RO/ENG)");

//ZONES

//==============================================================================

GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

return 1;

}

SetPlayerInterior(playerid, 0);

CMD:lv(playerid, params[])          return TPlayer(playerid, "Las Venturas", "lv", 2025.8074,1545.5157,10.8187);[/pawn]

"Maxim respect pentru orice proiect

Nimeni nu poate sa va scape cand va execut direct"

Link to comment
Share on other sites

Grig esti noob?Omul a intrebat unde le pune nu ca sa dai tu copy+paste la postul de mai sus.

Deci:Cauta  asta OnGameModeInit iar dupa { pui [pawn]bLackLisT = GangZoneCreate(910.8743, 1599.869, 1027.653, 1821.749);

    return 1;

}

// Player Spawn

public OnPlayerSpawn(playerid) {

    GangZoneShowForPlayer(playerid, bLackLisT, 0xFF000096);

    return 1;

}[/pawn]

 

 

Link to comment
Share on other sites

asta imi da acuma C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(618) : warning 217: loose indentation

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(623) : error 021: symbol already defined: "Streamer_TickRate"

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(627) : error 021: symbol already defined: "AntiDEAmx"

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(629) : error 021: symbol already defined: "SendRconCommand"

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(634) : error 021: symbol already defined: "AddStaticVehicle"

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(682) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(713) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(721) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(729) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(737) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(745) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(753) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(835) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(843) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(851) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(859) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(867) : error 010: invalid function or declaration

C:\Users\Sebastian\Desktop\RSE\gamemodes\RSE.pwn(875) : error 010: invalid function or declaration

Link to comment
Share on other sites

Ce destept esti ma, cica erori.

Uita-te mai bine ca sunt warning-uri,si pozitia script-ului nu este cum trebuie d'aia apar.

Auzi ma , inteligentule? De ce nu ii rezolvi tu eroarea ma? :-j

La saritu` cu gura sunteti buni toti, dai si tu copy+paste sa te afli in treaba.

warning 202: number of arguments does not match definition

De cand warningul asta, apare pentru ca nu e alineat cum trebuie? Citeste prietene wiki.

Link to comment
Share on other sites

Auzi ma , inteligentule? De ce nu ii rezolvi tu eroarea ma? :-j

La saritu` cu gura sunteti buni toti, dai si tu copy+paste sa te afli in treaba.

warning 202: number of arguments does not match definition

De cand warningul asta, apare pentru ca nu e alineat cum trebuie? Citeste prietene wiki.

E valabil si pt tine necalificatule.Tine-ti plitu.  :lipsrsealed:

"Maxim respect pentru orice proiect

Nimeni nu poate sa va scape cand va execut direct"

Link to comment
Share on other sites

Invata romana ,bai nehalitule.

Crezi ca esti baiat daca injuri si iti bagi? :))

Sper sa nu mai ai frati/surori , daca ai sincer mi`e mila de mila lor.

Nu mai am ce comenta , am ramas socat cat de departe duce prostia asta. :))))

Bine zis lai facut numai din vorbe.Dar gata ma hai sa ii rezolvam si problema userului care a postat

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.