Jump to content
  • 0

Da playerului bani si level


JoRdan23

Question

6 answers to this question

Recommended Posts

Cauta Linia OnPlayerConnect ,si mai jos trebuie sa dai de ceva de genul :

[pawn]PlayerInfo[playerid][pLevel] =[/pawn]

Dupa = pui tu ce level vrei sa ii dea , de exemplu daca vrei sa ii dea level 3 faci asa :

[pawn]PlayerInfo[playerid][pLevel] = 3;[/pawn]

si ca sa dai bani :

[pawn] PlayerInfo[playerid][pAccount] = [/pawn]

Daca vrei sa ii dai de exemplu 500k  trebuie sa ai linia asa :

[pawn]

PlayerInfo[playerid][pAccount] = 500000;[/pawn]

userbar6.jpg
Link to comment
Share on other sites

Sau la BAni si Score Poate sa Fac asa Mai SImplu :)

Cauti Linia OnPlayerConnect

si adaugi astea Unde este amount bagi cat scor vrei tu

SCOR - [pawn]SetPlayerScore(playerid, amount);[/pawn]

La amount adaugi suma de bani care vrei sa o dai

BANI - [pawn]GivePlayerMoney(playerid, amount);[/pawn]

a si la level tia aratat deja SiNuS

560x95_FFFFFF_FF9900_000000_000000.png
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.