Posts: 14
Threads: 3
Joined: Jul 2013
Reputation:
0
When i enter in the Pay n Spray to repair my car, i got -100$ for de paint car, but in 1 second it give me back the money +100$ .... Why?
Is same as MedicBill when i dye.
Posts: 1,297
Threads: 17
Joined: Apr 2011
Its like your using a server side money system try to search something like PlayerINfo[][cash or money], that only an example it could be different , then use PlayerInfo[playerid][Cash] = -100; in OnVEhcilePaint sorry for gramatical faults I am using a phone atm
Posts: 232
Threads: 31
Joined: May 2012
Reputation:
0
Well, on my RP server, i've made it like this:
I blocked the PNS with gates, and made a CMD spot infront of it.
Added IsPlayerNear etc etc. and in the end, people had to pay like 500 bucks to repair their car, by simply going to the Pickup infront of the PNS, type /fix and it got repaired :P
Posts: 1,297
Threads: 17
Joined: Apr 2011
Thats pretty unrealistic for RP servers as i said remove the gates detect if player is paint use the server side money or just create a custom new paint shop in another location and code it with realistic features this pretty easy if you need help pm me