Posts: 113
Threads: 20
Joined: Jun 2012
Reputation:
0
guys nw i have my own server -side money ( based on the text draw ) how do i use it instead the original green money bar of gta also how to set the original green bar all the time to 00000000 ,,,, the main idea how do i cancel the original money bar and use my own
Posts: 1,052
Threads: 46
Joined: Jan 2010
Reputation:
0
You can not make the default money bar disapear.
I suggest making the server read and write from the server sided value of the money, when this value is changed, use SetPlayerMoney to make ir show up at the player. Do never use GetPlayerMoney though, as you might be reading a cheated value then.
Posts: 113
Threads: 20
Joined: Jun 2012
Reputation:
0
1st i dont want to dissapear the defult money bar i said i want to set the deefult money bar always to zero ,,, i make a new money bar (text draw ) and all i need to do to use this textdraw instead of using the defult ones
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
You can 'disable' the green money bar by just never using SetPlayerMoney. If you dont give them money like that you dont use it. You can always overwrite it with a textdraw to make it 'dissapear'
Posts: 113
Threads: 20
Joined: Jun 2012
Reputation:
0
could u clearify more ( srry iam new scripter )
Posts: 113
Threads: 20
Joined: Jun 2012
Reputation:
0
ok nw i got ,, but if i want to give a player the server sided money or to make him buy with that money what should i do
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Server sided money is the money not shown in the money bar in the screen, right?
You can use the method that I described as second (with the static method, but then use a setter to set his money). Though, I don't know how you have set up your server sided money so I can't help you with that.