Lwka Posted October 13, 2021 Report Share Posted October 13, 2021 Hey! Am si eu nevoie de ajutor la comanda /bonus Cum pot acorda un vehicul temporar? Quote Link to comment Share on other sites More sharing options...
Toader Mihai Posted October 14, 2021 Report Share Posted October 14, 2021 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) Quote Link to comment Share on other sites More sharing options...
Tefyuu Posted October 27, 2021 Report Share Posted October 27, 2021 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.