Jump to content

Pitbul97

Membru
  • Posts

    132
  • Joined

  • Last visited

Posts posted by Pitbul97

  1. comanda

    http://pastebin.com/cHRw72F7

     

    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "engine" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "lights" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "alarm" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "doors" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "bonnet" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "boot" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "objective" shadows a variable at a preceding level
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14596) : warning 217: loose indentation
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
     

  2.  

    Astea sunt ca trebuie aranjate nu ?

    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14521) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14527) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14534) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14535) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14542) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14545) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14546) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14556) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14573) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14574) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14576) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14577) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14587) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14588) : warning 217: loose indentation
    C:\Users\User\Desktop\gamemodes\Carbon.pwn(14595) : warning 217: loose indentation

  3. Ma poate ajuta cineva sa pot modifica in Gm sa dau lock apasand tasta N ca la mine actual trebuie sa scriu /lock e vreau can apas tasta N sa dea Lock / Unlock deja stiti as ramana recunoscator va rog frumos din suflet.

  4. Poate sa puna cineva chestia asta intr-un Fs sau sa creeze un Fs cu asa ceva  e pentru Lock car  cand apasati tasta N ???

     

     


        if(newkeys & KEY_NO)
        {
            LockCarFunction(playerid);
        }


    stock LockCarFunction(playerid) {
        new string[128];
        new idd, car;
        car = GetClosestVehicle(playerid);
        idd = FindSpawnID(car);
        if(idd == 0 || CarInfo[idd][Userid] != PlayerInfo[playerid][pSQLID] || !IsPlayerNearVehicle(playerid,car,3)) 
        {
            SendClientMessage(playerid, COLOR_WHITE, "{999999}Nu sunt vehicule in jur care pot fi descuiate/incuiate.");
            return 1;
        }
        if(CarInfo[idd][vLock] == 0)
        {
            CarInfo[idd][vLock] = 1;
            GetVehicleParamsEx(car,engine,lights,alarm,doors,bonnet,boot,objective);
            SetVehicleParamsEx(car,engine,lights,alarm,1,bonnet,boot,objective);
            format(string,sizeof(string),"~w~%s ~r~Locked",VehicleNames[CarInfo[idd][vModel]-400]);
            GameTextForPlayer(playerid, string, 5000, 4);
            mysql_format(handle, string, sizeof(string), "UPDATE vehicles SET Locked='%d' WHERE ID=%d", CarInfo[idd][vLock], idd);
            mysql_tquery(handle, string, "", "");
        }
        else
        {
            CarInfo[idd][vLock] = 0;
            GetVehicleParamsEx(car,engine,lights,alarm,doors,bonnet,boot,objective);
            SetVehicleParamsEx(car,engine,lights,alarm,0,bonnet,boot,objective);           
            format(string,sizeof(string),"~w~%s ~g~Unlocked",VehicleNames[CarInfo[idd][vModel]-400]);
            GameTextForPlayer(playerid, string, 5000, 4);
            mysql_format(handle, string, sizeof(string), "UPDATE vehicles SET Locked='%d' WHERE ID=%d", CarInfo[idd][vLock], idd);
            mysql_tquery(handle, string, "", "");
        }
        return 1;
    }


    CMD:lock(playerid, params[])
    {
        LockCarFunction(playerid);
        return 1;
    }

  5. Am un FS care daca tastezi /equip detinand skinul 280 - 289 iti ofera scut  / casca / armura cop.

     

    linck FS 

    Care sunt problemele.

    1. merge doar o singura data sa folosesti /equip.

    2. ca sa mearga sa tastezi iarasi /equip nu merge trebuie sa dai relog.

    3. nu merge /equipoff.

    Vreau sa pot tasta cand doresc /equip si sa fac sa mearga si /equipoff.

     

     mentionez ca folosesc zcdm Multumesc anticipat 

     

  6. C:\Users\User\Desktop\x26435) : error 003: declaration of a local variable must appear in a compound block
    C:\Users\User\Desktop\x26435) : warning 215: expression has no effect
    C:\Users\User\Desktop\x(26435) : error 017: undefined symbol "d"
    C:\Users\User\Desktop\xn(26435) : warning 215: expression has no effect
    C:\Users\User\Desktop\x(26436) : error 017: undefined symbol "h"
    C:\Users\User\Desktop\x(26437) : error 017: undefined symbol "y"
    C:\Users\User\Desktop\x(26462) : error 017: undefined symbol "d"
    C:\Users\User\Desktop\x(26468) : error 017: undefined symbol "COLOR_GENANNOUNCE"
    C:\Users\User\Desktop\x26473) : warning 202: number of arguments does not match definition
    C:\Users\User\Desktop\x(27745) : error 017: undefined symbol "GetFactionMembers"
    C:\Users\User\Desktop\x(27746) : error 017: undefined symbol "fMaxMembers"
    C:\Users\User\Desktop\x(27747) : error 017: undefined symbol "fMinLevel"
    C:\Users\User\Desktop\x(27749) : error 017: undefined symbol "fMinLevel"
    C:\Users\User\Desktop\x(27763) : error 017: undefined symbol "COLOR_DARKPINK"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase

  7. Nu stiu cum sa fac nu pricep am incercat toate variantelee nu imi trece prin cap 

    C:\Users\User\Desktop\x(26435) : error 003: declaration of a local variable must appear in a compound block
    C:\Users\User\Desktop\x(26435) : warning 215: expression has no effect
    C:\Users\User\Desktop\x(26435) : error 017: undefined symbol "d"
    C:\Users\User\Desktop\x(26435) : error 017: undefined symbol "days"
    C:\Users\User\Desktopx26435) : fatal error 107: too many error messages on one line

     

    Aici e problema

    Spoiler

    new string[256],d=days,m=mounths,y=years,h=hours,mi=maenuts,s=seconds;
                    gettime(h=hours,mi=maenuts,s=seconds);
                    getdate(y=years,m=mounths,d=days);

     

    Aici este comanda 

    Quote

     

  8. C:\GM x\samp03\filterscripts\ProtectServer.pwn(33) : error 020: invalid symbol name ""
    C:\GM x\samp03\filterscripts\ProtectServer.pwn(674) : warning 203: symbol 

     

    eu vreau sa adaug aceasta linie IP_LiMIT = 5 

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