Problem money
#1

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.
Reply
#2

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
Reply
#3

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
Reply
#4

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
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=360865
Use that, and then add 100$ first - to balance the total amount (-100$ by PNS as default and your 100$ making it +0$) and then finally subtract $500!
Reply
#6

Quote:
Originally Posted by Naruto_Emilio
Посмотреть сообщение
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
Well, wasn't hardcore rp. but yeah.
Reply
#7

I will try...
Reply
#8

I can't... can samoeone help me ( i Can't find onplayerrespray or onplayerpaint ? (
Reply
#9

Someone?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)