Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

Salut, unde pot adauga un sistem in samp si cum pot schimba banii la /dice adica sa poti juca mai mult, la fel si la event sa poti da recompensa de de mai multi bani?

7 answers to this question

Recommended Posts

  • 0
Posted

Ar trebui sa ai ceva de genul:

if(money < 1000 || money > 100000) return SCM(playerid, COLOR_GREY, "Nu poti juca barbut pe sume mai mari de $100.000 si mai mici de $1.000.");

In loc de money poti avea orice, depinde cum ai definit in gamemode.

Cat despre sisteme, gasesti tutoriale pe net. Cum a spus si El.Capo, depinde de gamemode.

  • 0
Posted
Acum 7 ore, BaFFyJunior a spus:

Ar trebui sa ai ceva de genul:


if(money < 1000 || money > 100000) return SCM(playerid, COLOR_GREY, "Nu poti juca barbut pe sume mai mari de $100.000 si mai mici de $1.000.");

In loc de money poti avea orice, depinde cum ai definit in gamemode.

Cat despre sisteme, gasesti tutoriale pe net. Cum a spus si El.Capo, depinde de gamemode.

Dar la event ? Ca nu gasesc

  • 0
Posted
Acum 28 minute, xImAndrew a spus:

Dar la event ? Ca nu gasesc

daca e event gen ca la burned, cauti ori suma de bani castigata (daca e suma fixa) daca e random atunci cauti numele eventului prin gm sau include

Ares4  =(

 

 

  • 0
Posted (edited)
Acum 23 ore, xImAndrew a spus:

Am gm burned. Si nu stiu cum adaug un sistem, adica unde il adaug gen

Pana sa inveti unde sa dai copy paste la un sistem iti recomandat sa inveti baza in programare(cam ce se face la informatica in liceu) ca sa intelegi ce fac liniile de cod si o sa aflii singur unde sa dai copy paste 

Pt event cauta o parte din mesajul afisat( fara numele castigatoruluo sau suma de bani) ca sa gasesti functia aferenta iar acolo probabil ai o functie random(de_un_nr)+alt_numar asta este orientativ pt ca difera de la gm la gm

Edited by valivaly96
  • 0
Posted
On 11/6/2018 at 9:54 PM, xImAndrew said:

Am gm burned. Si nu stiu cum adaug un sistem, adica unde il adaug gen

Pentru event ai o variabila(EventMoney):

if(EventMoney < 10000 || EventMoney > 500000) return SCM(playerid, -1, "Suma invalida! (10,000-500,000)");

 

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.