Lwka Posted October 13, 2021 Posted October 13, 2021 Hey! Am si eu nevoie de ajutor la comanda /bonus Cum pot acorda un vehicul temporar?
Toader Mihai Posted October 14, 2021 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)
Tefyuu Posted October 27, 2021 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now