Jump to content
  • 0

problema [/roll]


ThoxiKK

Question

1 answer to this question

Recommended Posts

  • 0

Te folosesti de o variabila in care sa stochezi 'numarul de ore', in cazul tau 3.

Banuiesc ca editezi un gamemode, in ziua de azi cam orice gamemode are un sistem de 'PayDay'.

La functia respectiva scazi fiecarui player online variabila respectiva cu 1 (VariabilaTa[playerid] --)

La comanda /roll vei pune o restrictie: if(VariabilaTa[playerid] != 0) return SendClientMessage(playerid, -1, "Nu ai jucat 3 ore");

Tot la comanda /roll, dupa ce se executa comanda, vei seta variabila ta la valoarea 3 (VariabilaTa[playerid] = 3);

Ar fii cel mai indicat sa salvezi valorile respective in baza de date.

Sper ca te-am putut ajuta

Edited by EraSy
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.