Jump to content

ExteeL

Membru
  • Posts

    24
  • Joined

  • Last visited

Posts posted by ExteeL

  1.  

     

    Problema intalnita (descriere): Am deschis un server, (l-am urcat pe baza de date tot foarte bine), si imi da Run time error 019..
    Ero(area / rile) / warning-(ul / urile): Run Time Error 019
    Liniile de cod / sursa / script-ul:

    	[17:35:41] Script[gamemodes/RZP5.amx]: Run time error 19: "File or function is not found"
    	[17:35:41] Number of vehicle models: 0

    Imagini / Video (optional): - 
    Ati incercat sa rezolvati singur?: Da.

     

  2.  
    Problemă întâlnită (descriere): Am gasit un GM in PC si cand am dat compile, m-am trezit cu 3 errori.
    Ero(area / rile) / warning-(ul / urile):
    D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 017: undefined symbol "MAX_COUNTRY_NAME"
    D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 009: invalid array size (negative, zero or out of bounds)
    D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : error 036: empty statement
    D:UsersSergiuDesktopLaimon RPG v0.1gamemodeslaimon.pwn(5832) : fatal error 107: too many error messages on one line

    Liniile de cod / sursa / script-ul:

    5832 - new country[MAX_COUNTRY_NAME];
    GetCountryName(playerVariables[extraid][pConnectionIP], country, sizeof(country));

    Imagini / Video (optional): Nu.
    Aţi încercat să rezolvaţi singur?: Da.

  3. Posteaza te rog warningurile si liniile la care iti da warningurile.

     

    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "Vehstatus2"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "i"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 029: invalid expression, assumed zero
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : fatal error 107: too many error messages on one line
  4.  

    Incearca:

    CMD:lock(playerid, params[])
    {
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(IsPlayerConnected(playerid))
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
     if(SwitchKey[playerid] == 1)
    {
    new string[100];
    if(personalcar[playerid] != 0)
    {
     if(CheckPlayerDistanceToVehicle(5.0, playerid, personalcar[playerid]))
    {
    if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 1)
    {
    format(string,sizeof(string),"~y~UNLOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 0;
    gCarLock[personalcar[playerid]] = 0;
    vUpdate(OwnedVeh(personalcar[playerid]), cLockx); //
    return 1;
    }
    else if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 0)
    {
    format(string,sizeof(string),"~r~LOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 1;
    gCarLock[personalcar[playerid]] = 1;
    vUpdate(OwnedVeh(personalcar[playerid]), cLockx); //
     return 1;
    }
    }
    else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}Your vehicle not near you.");
    }
     else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You don't have a vehicle.");
    }
    else if(SwitchKey[playerid] == 2)
    {
     new carid,string[128];
    if(HireCar[playerid] == -1) return SCM(playerid,COLOR_WHITE,"{FFB870}You do not have a rental car/boat/bike/scooter already.");
     if(HireCar[playerid] != -1)
     {
    carid = HireCar[playerid];
    }
    if(CheckPlayerDistanceToVehicle(5.0, playerid, HireCar[playerid]))
    {
     //if(gCarLock[personalcar[playerid]] == 0)
    {
    format(string,sizeof(string),"~y~UNLOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    }
    else if(gCarLock[personalcar[playerid]] == 1)
    {
    format(string,sizeof(string),"~r~LOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    }
    }
    }
    }
    return 1;
    }

     

    Imi poti da comanda fara

     te rog? Trebuie sa stau 2 minute sa aranjez liniile ..
  5. Ok.

    Poza I:

    nZLtkPY.png

    Code:

    helpstext = TextDrawCreate(428.000091, 7.466656, "Reports:");
    TextDrawLetterSize(Textdraw0, 0.366000, 1.301333);
    TextDrawAlignment(Textdraw0, 1);
    TextDrawColor(Textdraw0, 41215);
    TextDrawSetShadow(Textdraw0, 0);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawBackgroundColor(Textdraw0, 51);
    TextDrawFont(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    
    helpstext = TextDrawCreate(483.199981, 5.226665, " ");
    TextDrawLetterSize(helpstext, 0.333999, 1.637333);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetOutline(helpstext, 1);
    TextDrawFont(helpstext, 1);
    
    helpstext = TextDrawCreate(439.200012, 385.279937, "Helps:");
    TextDrawLetterSize(helpstext, 0.361999, 1.786666);
    TextDrawTextSize(helpstext, -23.999992, 0.000000);
    TextDrawColor(helpstext, -16776961);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetOutline(helpstext, 1);
    TextDrawFont(helpstext, 1);
    
    Textdraw3 = TextDrawCreate(479.200012, 389.013427, " ");
    TextDrawLetterSize(reportstext, 0.425999, 1.525333);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);

    Poza II:b4acgDa.png

    Code:

    
    reportstext = TextDrawCreate(503.200012, 104.533317, "Reports:");
    TextDrawLetterSize(reportstext, 0.369999, 1.637333);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);
    
    Textdraw1 = TextDrawCreate(504.000000, 123.199996, "Helps:");
    TextDrawLetterSize(Textdraw1, 0.373999, 1.488000);
    TextDrawAlignment(Textdraw1, 1);
    TextDrawColor(Textdraw1, -5963521);
    TextDrawSetShadow(Textdraw1, 0);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawBackgroundColor(Textdraw1, 51);
    TextDrawFont(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);
    
    reportstext = TextDrawCreate(610.000000, 102.299995, "usebox");
    TextDrawLetterSize(reportstext, 0.000000, 5.241853);
    TextDrawTextSize(reportstext, 494.000000, 0.000000);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);
    
    reportstext = TextDrawCreate(557.600036, 106.026679, " ");
    TextDrawLetterSize(reportstext, 0.409999, 1.338666);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);
    
    helpstext = TextDrawCreate(547.200012, 123.946685, " ");
    TextDrawLetterSize(helpstext, 0.449999, 1.600000);
    TextDrawColor(helpstext, -16776961);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetOutline(helpstext, 1);
    TextDrawFont(helpstext, 1);

    PS: Literele in plus au fost ghid pentru mine.Ele nu vor aparea cand vor aparea si textdraw-ul.

     

    Mersi, insa primesc 9 erori:

     

    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14064) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14065) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14066) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14067) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14068) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14069) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14070) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14071) : error 017: undefined symbol "Textdraw1"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(14072) : error 017: undefined symbol "Textdraw1"
  6. Arata-ne cum ai puso in /lock.

    
    
    CMD:lock(playerid, params[])
    {
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(IsPlayerConnected(playerid))
    {
    new engine,lights,alarm,doors,bonnet,boot,objective;
       if(SwitchKey[playerid] == 1)
            {
    new string[100];
    if(personalcar[playerid] != 0)
      {
           if(CheckPlayerDistanceToVehicle(5.0, playerid, personalcar[playerid]))
    {
    if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 1)
      {
        GetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
               SetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,0,bonnet,boot,objective);
    format(string, sizeof(string), "~w~%s ~n~~g~Unlocked",CarInfo[OwnedVeh(personalcar[playerid])][cDescription]);
    GameTextForPlayer(playerid, string, 4000, 3);
    CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 0;
    gCarLock[personalcar[playerid]] = 0;
    vUpdate(OwnedVeh(personalcar[playerid]), cLockx); //
    return 1;
    }
    else if(CarInfo[OwnedVeh(personalcar[playerid])][cLock] == 0)
    {
        GetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,doors,bonnet,boot,objective);
               SetVehicleParamsEx(personalcar[playerid],engine,lights,alarm,1,bonnet,boot,objective);
    format(string, sizeof(string), "~w~%s ~n~~r~Locked",CarInfo[OwnedVeh(personalcar[playerid])][cDescription]);
    GameTextForPlayer(playerid, string, 4000, 3);
    CarInfo[OwnedVeh(personalcar[playerid])][cLock] = 1;
    gCarLock[personalcar[playerid]] = 1;
    vUpdate(OwnedVeh(personalcar[playerid]), cLockx); //
           return 1;
    }
    }
    else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}Your vehicle not near you.");
    }
       else return SendClientMessage(playerid, COLOR_WHITE, "{FFB870}You don't have a vehicle.");
            }
    else if(SwitchKey[playerid] == 2)
    {
       new carid,string[128];
    if(HireCar[playerid] == -1) return SCM(playerid,COLOR_WHITE,"{FFB870}You do not have a rental car/boat/bike/scooter already.");
       if(HireCar[playerid] != -1)
       {
    carid = HireCar[playerid];
    }
                if(CheckPlayerDistanceToVehicle(5.0, playerid, HireCar[playerid]))
    {
               //if(gCarLock[personalcar[playerid]] == 0)
                {
                format(string,sizeof(string),"~y~UNLOCKED");
                TextDrawSetString(Vehstatus2, string);
                TextDrawShowForPlayer(i, Vehstatus2);
                }
                else if(gCarLock[personalcar[playerid]] == 1)
                {
                format(string,sizeof(string),"~r~LOCKED");
                TextDrawSetString(Vehstatus2, string);
                TextDrawShowForPlayer(i, Vehstatus2);
    }
    }
    }
    }
        return 1;
    }
  7. Ok,ne poti oferi o poza cam cum vrei sa arate?

     

    Deci Reports sa fie sub Helps, sau invers.. de preferat invers..

     

     

    http://postimg.org/image/qmax4ndhx/

     

    helpstext = TextDrawCreate(478.000000, 11.946619, " ");
    TextDrawLetterSize(helpstext, 0.252000, 0.903111);
    TextDrawColor(helpstext, -16776961);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetOutline(helpstext, 1);
    TextDrawFont(helpstext, 1);
    
    reportstext = TextDrawCreate(474.000000,332.000000, " ");
    TextDrawLetterSize(reportstext, 0.252000, 0.903111);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);
  8.  

     

     

    Problemă întâlnită (descriere): As vrea sa mut textdraw-ul cu Reports sub cel de Helps.. nu ma pricep in modificarea coordonatelor..
    Ero(area / rile) / warning-(ul / urile): - 
    Liniile de cod / sursa / script-ul: Uitati Textdraw-ul cu Reports si cel cu Helps.. Vreau sa puneti Reports SUB Helps 

    helpstext = TextDrawCreate(478.000000, 11.946619, " ");
    TextDrawLetterSize(helpstext, 0.252000, 0.903111);
    TextDrawColor(helpstext, -16776961);
    TextDrawSetShadow(helpstext, 1);
    TextDrawSetOutline(helpstext, 1);
    TextDrawFont(helpstext, 1);
    
     
    reportstext = TextDrawCreate(474.000000,332.000000, " ");
    TextDrawLetterSize(reportstext, 0.252000, 0.903111);
    TextDrawColor(reportstext, -16776961);
    TextDrawSetShadow(reportstext, 1);
    TextDrawSetOutline(reportstext, 1);
    TextDrawFont(reportstext, 1);


    Imagini / Video (optional): - 
    Aţi încercat să rezolvaţi singur?: Nu. Nu ma pricep la coordonate.

  9. Aceasta vine in comanda /lock.

     

    Am pus-o in [/lock] si imi da 4 erori

    
    
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "Vehstatus2"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 017: undefined symbol "i"
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : error 029: invalid expression, assumed zero
    D:UsersSergiuDownloadsLCZ-Gaming RPGLCZ-Gaming RPGgamemodesserioux.pwn(21027) : fatal error 107: too many error messages on one line
  10. Salut! Am incercat sa pun un FS de artificii facut de Artist in GM-ul meu. Tot merge bine, cumpar artificile dau /blow, face animatia de /bomb insa nu se vad artificile. Mentionez faptul ca am GM Saints Editat.  Am incercat cu un alt edit facut de Lego pentru acelasi gm si mi-a mers.. imi arata artificile. Am copiat tot ce aveam in folderu de la GM editat de Lego in folder la mine inafara de gamemodes. Si tot nu merge.. ce poate sa aiba?

  11. if(gCarLock[personalcar[playerid]] == 0)
    {
    format(string,sizeof(string),"~y~UNLOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    }
        else if(gCarLock[personalcar[playerid]] == 1)
    {
    format(string,sizeof(string),"~r~LOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
  12.  

     

    Problemă întâlnită (descriere): Am un fel de textdraw care daca masina e descuiata apare un textdraw cu verde Unlocked iar daca e incuiata apare un textdraw cu rosu, insa l-am pus la textdraw acolo si primesc tagmismatch, iar daca il pun la ongamemodeinit primesc ogramada de errori..
    Ero(area / rile) / warning-(ul / urile): 
    Liniile de cod / sursa / script-ul: [pawn]if(gCarLock[personalcar[playerid]] == 0)
    {
    format(string,sizeof(string),"~y~UNLOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    }
    else if(gCarLock[personalcar[playerid]] == 1)
    {
    format(string,sizeof(string),"~r~LOCKED");
    TextDrawSetString(Vehstatus2, string);
    TextDrawShowForPlayer(i, Vehstatus2);
    [/pawn]
    Imagini / Video (optional): - 
    Aţi încercat să rezolvaţi singur?: Da.

     

     

×
×
  • 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.