Jump to content
  • 0

cash+score...


xxSPEEDYxx

Question

Salls nu stiu cum se face asa ca sa ii poata lua si cahs si score...asa si daca nu are de ajuns sa spunem score ii apare un dialog si daca nu are destul cash sa ii apara un dialog ca nu are destul cash...

[pawn]

if (GetPlayerScore(playerid) >= 200)

{

if (GetPlayerCash(playerid) >= 200)

{

//comanda

[/pawn]

sau asa:

[pawn]

if (GetPlayerScore(playerid) >=200 || GetPlayerCash(playerid) >= 200)

{

[/pawn]

da nush cum sa fac ca sa-i apara un dialog daca nu are destul cash sau score...dac fac asa...

Fara reclama in semnatura!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.