Posts: 159
Threads: 103
Joined: Apr 2017
Reputation:
0
Hi,
Do i need reset player money to zero? ResetPlayerMoney?
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
You should reset player's variable on this callback or you can do it under OnPlayerDisconnect.
Posts: 578
Threads: 40
Joined: Dec 2016
No you don't, whenever a client connects to a server, the SAMP background is setting their cash to $10,000, but this is never seen, but then when you get a connection to the server, the samp background sets it to $0.
Note that, $10.000 is nowhere detectable, not even is loggings.
Posts: 159
Threads: 103
Joined: Apr 2017
Reputation:
0
so same is for player score?
Posts: 578
Threads: 40
Joined: Dec 2016
Posts: 435
Threads: 2
Joined: Jul 2017
Reputation:
0
You need to reset money then restore it on spawn, $100 is deducted when you have a certain amount.