SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 15/06/2013, 01:01 PM   #1
Ananisiki
High-roller
 
Join Date: Mar 2010
Posts: 1,063
Reputation: 5
Default Stats

^^^^^^^^

Last edited by Ananisiki; 15/12/2013 at 06:46 PM.
Ananisiki is offline   Reply With Quote
Old 15/06/2013, 03:53 PM   #2
SuperViper
High-roller
 
SuperViper's Avatar
 
Join Date: Sep 2011
Posts: 1,177
Reputation: 315
Default Re: Stats

http://forum.sa-mp.com/showthread.php?t=442095

The font of the text at the top is either 0 or 3 and the rest of it is font 1.
__________________
Release NameUse
FairPlayKeep the cheaters out of your server
Object Model ArrayArray of every single object model in the game
RCON PanelControl any server as you like with RCON controls
SlopeClimb up a steep hill against other players with cars falling down

I do not play on any SAMP server. Anyone with the name Ricky Phelps in-game is an imposter.
SuperViper is offline   Reply With Quote
Old 15/06/2013, 07:53 PM   #3
Ananisiki
High-roller
 
Join Date: Mar 2010
Posts: 1,063
Reputation: 5
Default Re: Stats

^^^^^^^^

Last edited by Ananisiki; 15/12/2013 at 06:46 PM.
Ananisiki is offline   Reply With Quote
Old 15/06/2013, 08:09 PM   #4
WillyP
High-roller
 
WillyP's Avatar
 
Join Date: Jul 2010
Location: England
Posts: 2,027
Reputation: 63
Default Re: Stats

Integrate it with an account system
__________________
once average now terrible
WillyP is offline   Reply With Quote
Old 15/06/2013, 08:12 PM   #5
Ananisiki
High-roller
 
Join Date: Mar 2010
Posts: 1,063
Reputation: 5
Default Re: Stats

I have an saving system, can I do it with that?
Ananisiki is offline   Reply With Quote
Old 15/06/2013, 08:14 PM   #6
WillyP
High-roller
 
WillyP's Avatar
 
Join Date: Jul 2010
Location: England
Posts: 2,027
Reputation: 63
Default Re: Stats

Yep, you will get the player variables, place them into a string which will be shown through whichever means of presentation you choose.
__________________
once average now terrible
WillyP is offline   Reply With Quote
Old 15/06/2013, 08:27 PM   #7
Ananisiki
High-roller
 
Join Date: Mar 2010
Posts: 1,063
Reputation: 5
Default Re: Stats

^^^^^^^^

Last edited by Ananisiki; 15/12/2013 at 06:46 PM.
Ananisiki is offline   Reply With Quote
Old 15/06/2013, 08:29 PM   #8
Ananisiki
High-roller
 
Join Date: Mar 2010
Posts: 1,063
Reputation: 5
Default Re: Stats

^^^^^^^^

Last edited by Ananisiki; 15/12/2013 at 06:46 PM.
Ananisiki is offline   Reply With Quote
Old 15/06/2013, 08:39 PM   #9
WillyP
High-roller
 
WillyP's Avatar
 
Join Date: Jul 2010
Location: England
Posts: 2,027
Reputation: 63
Default Re: Stats

I create each textdraw by themselves then add them together, each one will have their own string which will be things like this:
pawn Code:
format(string,sizeof(string),"Money: %d",pStats[pID][Money]);
and then
pawn Code:
TextDrawSetString(yourtd,string);
__________________
once average now terrible
WillyP 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
[Tool/Web/Other] [PHP/MySQL] Powerup Stats - Player stats signature generator kelvin22 Tools and Files 43 20/06/2013 11:15 PM
help with stats Michael_Cuellar Scripting Help 3 27/04/2013 10:20 AM
Stats help Noles2197 Scripting Help 1 03/02/2013 06:12 PM


All times are GMT. The time now is 08:16 PM.


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