OnPlayerConnect
#1

Hi,

Do i need reset player money to zero? ResetPlayerMoney?
Reply
#2

You should reset player's variable on this callback or you can do it under OnPlayerDisconnect.
Reply
#3

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

so same is for player score?
Reply
#5

Yes. .
Reply
#6

You need to reset money then restore it on spawn, $100 is deducted when you have a certain amount.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)