Jump to content

DarkSmok

Membru
  • Posts

    62
  • Joined

  • Last visited

Posts posted by DarkSmok

  1. 20 hours ago, MegaZ775 said:

    acele vehicule au restrictie cauta textu-l acela in gamemode unde-l gasesti stergei sursa din care provine (ma refer la restrictie) sau posteaza codu-l gasit.

    pai in gm nu e nimic cu restrictia cu can not use vehicle...

  2. 1 minute ago, NizaNNN said:

    am gasit unul care il accepta dar nu are aia pentru licenta  pentru gun,zbor,masina,navigare=( daca il poti edita tu ar fi fain nu e musai 100 de ore si 50 e bine

     

    
    CMD:bonus(playerid, params[])
    {
        {
            if(PlayerInfo[pLevel] = 1)
            {
                 GivePlayerMoney(playerid, 1000000);
                 PlayerInfo[pLevel] = 3; 
                 SetPlayerScore(playerid, [pLevel]); 
                 SendClientMessage(playerid, COLOR_RED, "Ai primit 100.000$ si level 3 pentru ca esti incepator");
            }
            else return SendClientMessage(playerid, COLOR_RED, "Nu esti incepator!");
         }
         return 1;
    }

    cauta gamemode shawn pe sa-mp.ro

  3. CMD:bonus(playerid, params[])
    {
        if(IsPlayerConnected(playerid))
        {
                if(PlayerInfo[playerid][pLevel] <= 1)
                {
                GivePlayerCash(playerid, 10000000);
                PlayerInfo[playerid][pLevel] = 3;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 100;
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 100;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 100;
                PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 100;
                SetPlayerScore(playerid, 5);
                  Update(playerid, pCashx);
                    Update(playerid, pLevelx); 
                    format(str,128,"UPDATE users SET `CarLic`='1',`CarLicT`='20',`FlyLic`='1',`FlyLicT`='20',`BoatLic`='1',`BoatLicT`='20',`GunLic`='1',`GunLicT`='20' WHERE `ID`='%d'",PlayerInfo[playerid][pSQLID]);

                mysql_query(SQL,str);
                 ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "{ffffff}Server Bonus {ffffff}| {ffffff}Server RPG{ffffff} |", "{ffffff}Ai folosit comanda {ffffff}/bonus{d10606} si ai primit:\n {ffffff}-{ffffff} Level {ffffff}3\n -{ffffff} 10.000.000{ffffff}$\n {ffffff}\nMultumim ca ai ales serverul Server RPG","{d10606}Multumesc","");
            }
            else return SendClientMessage(playerid, COLOR_RED, "Nu poti folosi aceasta comanda daca ai level 3+ !");
        }
        return 1;
    }

  4. CMD:bonus(playerid,params[])
    {
        new str[128];
        if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Nu poti folosi aceasta comanda daca ai level 2+");
        if(IsPlayerConnected(playerid))
        {
            if(IsPlayerInRangeOfPoint(playerid, 5.0, 2020.0057,1896.6764,12.3035))
                {
                PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
                GivePlayerCash(playerid, 1000000);
                PlayerInfo[playerid][pLevel] = 2;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 100;
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 100;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 100;
                PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 100;
                Update(playerid, pCashx);
                Update(playerid, pLevelx);
                format(str,128,"UPDATE users SET `CarLic`='1',`CarLicT`='20',`FlyLic`='1',`FlyLicT`='20',`BoatLic`='1',`BoatLicT`='20',`GunLic`='1',`GunLicT`='20' WHERE `ID`='%d'",PlayerInfo[playerid][pSQLID]);
                mysql_query(SQL,str);
                ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "{ffffff}Server Bonus {ffffff}| {00FFFF}Server RPG{ffffff} |", "{ffffff}Ai folosit comanda {00FFFF}/bonus{ffffff} si ai primit:\n {00FFFF}-{ffffff} Level {00FFFF}3\n -{ffffff} 10.000.000{33cc33}$\n {00FFFF}-{ffffff} Si toate licentele pentru 100ore!","{ffffff}Multumesc","");
            }
        }
        return 1;
    }



    @NizaNNN incearca asa.

  5. 12 minutes ago, NizaNNN said:

     nu doar aia ce da deobicei file not identification sau ceva gen !

     

    adica astea !¬

     

    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35924) : warning 217: loose indentation
    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35925) : warning 217: loose indentation
    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35926) : warning 217: loose indentation
    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35927) : warning 217: loose indentation
    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35928) : warning 217: loose indentation
    C:\Users\Geek User\Desktop\GM DarkElite\gamemodes\wa-rpg.pwn(35930) : warning 217: loose indentation

    da poza cu linile 35924 25925 pana la 35930

  6. 1 minute ago, DarkSmok said:

    CMD:bonus(playerid,params[])
    {
        new str[128];
        if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Nu poti folosi aceasta comanda daca ai level 2+");
        if(IsPlayerConnected(playerid))
        {
            if(IsPlayerInRangeOfPoint(playerid, 5.0, 2020.0057,1896.6764,12.3035))
                {
                PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
                GivePlayerCash(playerid, 1000000);
                PlayerInfo[playerid][pLevel] = 2;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 100;
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 100;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 100;
                 PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 100;
                  Update(playerid, pCashx);
                   Update(playerid, pLevelx);
                format(str,128,"UPDATE users SET `CarLic`='1',`CarLicT`='20',`FlyLic`='1',`FlyLicT`='20',`BoatLic`='1',`BoatLicT`='20',`GunLic`='1',`GunLicT`='20' WHERE `ID`='%d'",PlayerInfo[playerid][pSQLID]);
                mysql_query(SQL,str);
                 ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "{ffffff}Server Bonus {ffffff}| {00FFFF}Server RPG{ffffff} |", "{ffffff}Ai folosit comanda {00FFFF}/bonus{ffffff} si ai primit:\n {00FFFF}-{ffffff} Level {00FFFF}3\n -{ffffff} 10.000.000{33cc33}$\n {00FFFF}-{ffffff} Si toate licentele pentru 100ore!","{ffffff}Multumesc","");
            }
        }
        return 1;
    }

    Sper ca te-am ajutat ❤️ +1 =))

  7. CMD:bonus(playerid,params[])
    {
        new str[128];
        if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Nu poti folosi aceasta comanda daca ai level 2+");
        if(IsPlayerConnected(playerid))
        {
            if(IsPlayerInRangeOfPoint(playerid, 5.0, 2020.0057,1896.6764,12.3035))
                {
                PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
                GivePlayerCash(playerid, 1000000);
                PlayerInfo[playerid][pLevel] = 2;
                PlayerInfo[playerid][pCarLic] = 1;
                PlayerInfo[playerid][pCarLicT] = 100;
                PlayerInfo[playerid][pFlyLic] = 1;
                PlayerInfo[playerid][pFlyLicT] = 100;
                PlayerInfo[playerid][pBoatLic] = 1;
                PlayerInfo[playerid][pBoatLicT] = 100;
                 PlayerInfo[playerid][pGunLic] = 1;
                PlayerInfo[playerid][pGunLicT] = 100;
                  Update(playerid, pCashx);
                   Update(playerid, pLevelx);
                format(str,128,"UPDATE users SET `CarLic`='1',`CarLicT`='20',`FlyLic`='1',`FlyLicT`='20',`BoatLic`='1',`BoatLicT`='20',`GunLic`='1',`GunLicT`='20' WHERE `ID`='%d'",PlayerInfo[playerid][pSQLID]);
                mysql_query(SQL,str);
                 ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "{ffffff}Server Bonus {ffffff}| {00FFFF}Server RPG{ffffff} |", "{ffffff}Ai folosit comanda {00FFFF}/bonus{ffffff} si ai primit:\n {00FFFF}-{ffffff} Level {00FFFF}3\n -{ffffff} 10.000.000{33cc33}$\n {00FFFF}-{ffffff} Si toate licentele pentru 100ore!","{ffffff}Multumesc","");
            }
        }
        return 1;
    }

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