Jump to content

Recommended Posts

Posted

Pai ar trebuii sa gandesti urmatoarele: 

- sa faci o variabila care sa ii dea la comanda bonus un timp, si la un timer sa ii scada din valoarea variabile, pana ajunge la 0, cand ajunge la 0, ii stergi vehiculul din baza de date.(asta e o idee)

  • 2 weeks later...
Posted

Cauti in gamemode cmd:bonus sau cum ai tu comanda dar in general e cmd:bonus , si dupa adaugi     GiveVehicle(playerid, 541, 0, 0, 0, 0, 0);   , 541- este id- ul masini ca sa intelegi  iti las un exemplu  

YCMD:bonus(playerid, params[], help) {
    if(PlayerInfo[playerid][pLevel] > 1) 
        return true;

    SetPlayerScore(playerid, 5);
    PlayerInfo[playerid][pLevel] = 5;
    UpdateVar(playerid, "Level", 5);
    PlayerInfo[playerid][pVoucher][2] += 2;
    save_vouchers(playerid);
    GivePlayerCash(playerid, 1, 200000000);
    GiveVehicle(playerid, 541, 0, 0, 0, 0, 0);
    SCM(playerid, COLOR_GOLD, "Server Bonus: {FFFFFF}Ai primit $200,000,000 si 2 Vouchere Legendary, level 5, Bullet.");
    return true;

 

Si vezi acolo givevehicle ca sa intelegi , daca nu ai inteles dami pm pe discord Manevra-aka-paispe#3507

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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