Posts: 96
Threads: 41
Joined: May 2010
Reputation:
0
I have 2 questions: When I put in my script setplayerscore if I put +0.1 score will work??
And how can I make saving for players' score?
Posts: 1,417
Threads: 6
Joined: May 2008
Reputation:
0
30.04.2011, 08:28
(
Последний раз редактировалось [NoV]LaZ; 30.04.2011 в 09:31.
)
You can only use integers in player's score
Posts: 6,129
Threads: 36
Joined: Jan 2009
As [NoV]LaZ said, you can only use integers (which are whole numbers) in SetPlayerScore.
What you wanted to do was add 0.1, which isn't a whole number, it's a number with a decimal point, which in PAWN is a Float.
You should also note that most SA-MP functions only accept integers.
Posts: 96
Threads: 41
Joined: May 2010
Reputation:
0
I have a job that player must collect checkpoints to complite the job and I want to add setplayerscore in the past checkpoint, but the problem is that I want the players to get +1 score when they complete the job 10 times, how to do this? :/