SA-MP Forums Archive
meter speedometer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: meter speedometer (/showthread.php?tid=286829)



meter speedometer - CraftMan - 30.09.2011

How to make whatever the score was not 1, 2, 3, 4, 5 and 5, 10, 15, 20, 25


Re: meter speedometer - Tigerkiller - 30.09.2011

please explain correctly because we / i cant understand what do you mean


Re: meter speedometer - park4bmx - 30.09.2011

Quote:
Originally Posted by CraftMan
Посмотреть сообщение
How to make whatever the score was not 1, 2, 3, 4, 5 and 5, 10, 15, 20, 25
Quote:
Originally Posted by Tigerkiller
Посмотреть сообщение
please explain correctly because we / i cant understand what do you mean
yeah explain more
but i think hes trying to say that when lets say a player leaves with 5 score and when he comes back to the server
he wants that player to have 5 score again.
So basically save the players score.


Re: meter speedometer - CraftMan - 30.09.2011

I write with the help of translate.******.ru I need to do so would be considered by 5, 10, 15, 20, 25 and not 1, 2, 3, 4, 5
----
turns what would have been +5, not +1


Re: meter speedometer - Cjgogo - 01.10.2011

I think I understand what he means,and he means his Score System would be 5,10,15,20,25,etc.(5 in 5) and not 1 in 1(1,2,3,4,5,6,7,8,9,10,etc.).Whatever your player does to gain score you need to write this.

pawn Код:
SetPlayerScore(playerid,GetPlayerScore(playerid) + 5);
And if that's not what you want ask for help in russian section,or I see no connection between title and the content of the topic.


Re: meter speedometer - CraftMan - 01.10.2011

GetPlayerScore(playerid) = 29

GetPlayerScore(playerid) + 5 = 34?


Re: meter speedometer - Tigerkiller - 01.10.2011

getplayerscore will get your score you must use

SetPlayerScore(playerid,GetPlayerScore(playerid) + amount);