Jump to content

Recommended Posts

Posted

Acum am rezolvat aia cu symbol si sunt puse in ordine lea compliat fara nici o problema dar ! comanda /bonus tot nu functioneaza ! o scriu dar nu imi da nimic

oare o poti edita sa fie pe auto ? sa dea autamat dupa ce ai inceput jocul ? 

adica a inceput dupa vreo 3 sec sa iti dea automat fara sa mai scri nimic daca se poate daca nu va multumesc orcum !

Posted (edited)

cum vrei comanda pe dialog sau ? si ce gm folosesti ?

Edited by Cosmink47

YouTube : Click

Discord : CosminAK47#8524

Posted

cosmine el are al comanda setata locatia exacta!intelegi?

if(IsPlayerInRangeOfPoint(playerid, 5.0, 2020.0057,1896.6764,12.3035))

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

Posted

UITEEEEEEEEEEEEEEEEEEEEEEEEEee +1

Spoiler

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, 1729.5890,-1912.3743,13.5630))
            {
            PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
            GivePlayerCash(playerid, 6000000);
            PlayerInfo[playerid][pLevel] = 2;
            PlayerInfo[playerid][pPremiumPoints] = 600;
            PlayerInfo[playerid][pCarLic] = 1;
            PlayerInfo[playerid][pCarLicT] = 2;
            PlayerInfo[playerid][pFlyLic] = 1;
            PlayerInfo[playerid][pFlyLicT] = 20;
            PlayerInfo[playerid][pBoatLic] = 1;
            PlayerInfo[playerid][pBoatLicT] = 20;
             PlayerInfo[playerid][pGunLic] = 1;
            PlayerInfo[playerid][pGunLicT] = 20;
              Update(playerid, pCashx);
                Update(playerid, pLevelx);
            Update(playerid, pPremiumPointsx);
            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}SunKen RPG{ffffff} |", "{ffffff}Ai folosit comanda {00FFFF}/bonus{ffffff} si ai primit:\n {00FFFF}-{ffffff} Level {00FFFF}3\n -{ffffff} 6.000.000{33cc33}$\n {00FFFF}-{ffffff} 600 Premium {ffff00}Points\n Si 2 Ore Licentele!","{ffffff}Multumesc","");
        }
    }
    return 1;
}

 

  • Thanks 1

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.