Jump to content
  • 0

Limita bani banca


Rory

Question

7 answers to this question

Recommended Posts

  • 0

Salut,ai 2 posibilitati:

1.In comanda /withdraw ai un if(bani > 2000000) uitate atent pe acolo si vei gasi cva de genul. O stergi si ai rezolvat problema.

PS: bani din linia de mai sus am pus eu, la tine este altfel. Eu i-am dat doar o denumire...

2.Intrii pe server mergi in banca scri /withdraw 2000000 si o sa iti apara un mesaj, mergi in gamemode si cauta acel mesaj dupa care il stergi impreuna cu functia care restrictioneaza sa scoti banii din banca.

Daca nu te descurci lasa comanda aici si te vom ajuta.

Edited by Джо

 

 

Link to comment
Share on other sites

  • 0

Poti incerca sa folosesti acest includ: http://forum.sa-mp.com/showthread.php?t=598933 (nu stiu cum functioneaza sau daca functioneaza)

Sau ai putea avea mai multe variabile si cand una ajunge la o anumita suma sa fie folosita cealalta etc etc

Sau http://forum.sa-mp.com/showthread.php?t=37299

Sau http://forum.sa-mp.com/showpost.php?p=3685240&postcount=13

 

Sunt foarte multe posibilitati , trebuie doar sa te gandesti. Sa gandesti logic

Link to comment
Share on other sites

  • 0
On 9/2/2017 at 10:30 AM, Banditul said:

Poti incerca sa folosesti acest includ: http://forum.sa-mp.com/showthread.php?t=598933 (nu stiu cum functioneaza sau daca functioneaza)

Sau ai putea avea mai multe variabile si cand una ajunge la o anumita suma sa fie folosita cealalta etc etc

Sau http://forum.sa-mp.com/showthread.php?t=37299

Sau http://forum.sa-mp.com/showpost.php?p=3685240&postcount=13

 

Sunt foarte multe posibilitati , trebuie doar sa te gandesti. Sa gandesti logic

Am gasit si eu astea, ma gandeam ca poate exista si o solutie putin mai simpla.

 

22 hours ago, Джо said:

In acest caz, posibil ai facuta o restrictie, cel mai sigur un #define imi poti spune te rog ce gamemode folosesti?

Nu e nicio restrictie, pe SA:MP poti detine maxim 2.147.000.000 in banca, asta e limita variabilei

 

Sunt curios daca exista o posibilitate de a scoate restrictie, cei de pe bugged am vazut ca au scos-o.

Link to comment
Share on other sites

  • 0
Acum 18 minute, Rory a spus:

Am gasit si eu astea, ma gandeam ca poate exista si o solutie putin mai simpla.

 

Nu e nicio restrictie, pe SA:MP poti detine maxim 2.147.000.000 in banca, asta e limita variabilei

 

Sunt curios daca exista o posibilitate de a scoate restrictie, cei de pe bugged am vazut ca au scos-o.

Nu o poti scoate pentru ca e limita unui integer pe 32 bit , n-ai csf.

Te poti gandi  doar la o modalitate de a trece pe langa , si o parte din ele le-am mentionat....Daca gasesti tu alte posibilitati....Dar nu , nu poti sparge acea limita, doar daca se va face sa-mp pentru 64 bit(nu se va intampla ) sau face Kalcor un long long integer precum e in acel include....

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

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