SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/09/2011, 07:36 PM   #1
CraftMan
Little Clucker
 
Join Date: Aug 2011
Posts: 44
Reputation: 0
Post meter speedometer

How to make whatever the score was not 1, 2, 3, 4, 5 and 5, 10, 15, 20, 25
CraftMan is offline   Reply With Quote
Old 30/09/2011, 09:19 PM   #2
Tigerkiller
Gangsta
 
Tigerkiller's Avatar
 
Join Date: May 2010
Posts: 673
Reputation: 31
Default Re: meter speedometer

please explain correctly because we / i cant understand what do you mean
Tigerkiller is offline   Reply With Quote
Old 30/09/2011, 09:45 PM   #3
park4bmx
High-roller
 
park4bmx's Avatar
 
Join Date: Dec 2009
Location: Samokov,Bulgaria
Posts: 2,361
Reputation: 240
Default Re: meter speedometer

Quote:
Originally Posted by CraftMan View Post
How to make whatever the score was not 1, 2, 3, 4, 5 and 5, 10, 15, 20, 25
Quote:
Originally Posted by Tigerkiller View Post
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.
park4bmx is offline   Reply With Quote
Old 30/09/2011, 10:39 PM   #4
CraftMan
Little Clucker
 
Join Date: Aug 2011
Posts: 44
Reputation: 0
Default Re: meter speedometer

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
CraftMan is offline   Reply With Quote
Old 01/10/2011, 05:29 AM   #5
Cjgogo
High-roller
 
Cjgogo's Avatar
 
Join Date: Apr 2011
Location: Romania,Brasov,Brasov
Posts: 1,018
Reputation: 92
Default Re: meter speedometer

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 Code:
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.
__________________
{POWER} + {AGILITY} + {WILL} + {NOBILITY} = "PAWN"


"A question is the key to knoweldege"

My work


Cjgogo is offline   Reply With Quote
Old 01/10/2011, 06:00 PM   #6
CraftMan
Little Clucker
 
Join Date: Aug 2011
Posts: 44
Reputation: 0
Default Re: meter speedometer

GetPlayerScore(playerid) = 29

GetPlayerScore(playerid) + 5 = 34?
CraftMan is offline   Reply With Quote
Old 01/10/2011, 07:07 PM   #7
Tigerkiller
Gangsta
 
Tigerkiller's Avatar
 
Join Date: May 2010
Posts: 673
Reputation: 31
Default Re: meter speedometer

getplayerscore will get your score you must use

SetPlayerScore(playerid,GetPlayerScore(playerid) + amount);
Tigerkiller is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] The Speed-o-Meter and Fuel-o-Meter is not appearing! [UNSOLVED!!!] Rand_Omar Help Archive 12 28/01/2011 02:17 PM
Percentage Meter Cenation Help Archive 3 10/01/2011 03:17 PM
[FilterScript] [FS]Speedo Meter Deat_Itself Filterscripts 31 27/04/2010 02:03 AM
Pay meter Erkan Help Archive 1 17/07/2009 06:57 PM
[HOW] Checkpoint meter SakuraBloss Help Archive 2 30/03/2009 04:43 AM


All times are GMT. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.