SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/11/2016, 12:05 AM   #11
Slawiii
Huge Clucker
 
Slawiii's Avatar
 
Join Date: May 2015
Location: Morocco, Missour
Posts: 288
Reputation: 16
Default Re: Custom Coins Currency [Saves]

Nice work
__________________
if you wanna test NEF script check it here:

RCON password: gn2pk69y

HostName: [Ultra-h.com]..:: NEF ::.. ×Stunt/DM/Race/Minigame
Address: sampza.net:7776
Players: 0 / 420
Ping: 110
Mode: TdmDerbyRaceCNRFunStuntFreeroa
Language: English
Slawiii is offline   Reply With Quote
Old 06/11/2016, 10:23 AM   #12
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,513
Reputation: 305
Default Re: Custom Coins Currency [Saves]

This can be easily modified to another saving system, the textdraws look funny but good job.
Logic_ is offline   Reply With Quote
Old 10/11/2016, 02:10 PM   #13
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,329
Reputation: 652
Default Re: Custom Coins Currency [Saves]

Quote:
Originally Posted by TopShooter View Post
Updated the textdraws a bit, the textdraws look a bit better now.



http://pastebin.com/F99L5mUv
Um... You made it uglier.
Crayder is offline   Reply With Quote
Old 10/11/2016, 02:15 PM   #14
Magic11
Banned
 
Join Date: Oct 2015
Location: Brazil
Posts: 99
Reputation: 10
Default Re: Custom Coins Currency [Saves]

Quote:
Originally Posted by Crayder View Post
Um... You made it uglier.
Agreed.
Magic11 is offline   Reply With Quote
Old 10/11/2016, 04:42 PM   #15
TopShooter
Big Clucker
 
TopShooter's Avatar
 
Join Date: Jan 2016
Location: Unknown
Posts: 75
Reputation: 90
Default Re: Custom Coins Currency [Saves]

I'm suck at design, would be appreciated if you design one for me and I'll edit it to the system and you will be given the credits, lol.
TopShooter is offline   Reply With Quote
Old 10/11/2016, 06:53 PM   #16
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,329
Reputation: 652
Default Re: Custom Coins Currency [Saves]

The first one was nice, but could be better with simple adjustments.
Crayder is offline   Reply With Quote
Old 11/11/2016, 06:10 PM   #17
TopShooter
Big Clucker
 
TopShooter's Avatar
 
Join Date: Jan 2016
Location: Unknown
Posts: 75
Reputation: 90
Default Re: Custom Coins Currency [Saves]

v0.3;

- A bit improved textdraws, not sure if it's better or not but I tried to improve it lol.
- Removed useless functions.
- Fixed a bug within coins updater.

TopShooter is offline   Reply With Quote
Old 11/11/2016, 06:23 PM   #18
MikeB
Banned
 
Join Date: Mar 2014
Posts: 59
Reputation: 10
Default Re: Custom Coins Currency [Saves]

Why are the boxes per-player textdraws? That's a waste..
MikeB is offline   Reply With Quote
Old 11/11/2016, 06:37 PM   #19
Quinncell
Guest
 
Posts: n/a
Default Re: Custom Coins Currency [Saves]

Quote:
Originally Posted by TopShooter View Post
v0.3;

- A bit improved textdraws, not sure if it's better or not but I tried to improve it lol.
- Removed useless functions.
- Fixed a bug within coins updater.
It looks way better.

Well done though.
  Reply With Quote
Old 11/11/2016, 06:47 PM   #20
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 968
Reputation: 155
Default Re: Custom Coins Currency [Saves]

Use this to make it with a comma;

PHP Code:
cNumber(value// Credits to the one who made it
{
    new 
string[24];
    
format(stringsizeof(string), "%d"value);

    for(new 
= (strlen(string) - 3); > (value 0) ; -= 3)
    {
        
strins(string[i], ","0);
    }
    return 
string;
}

//i.e
format(stringsizeof(string), "%s" cNumber(amount)); 
It would look better.
oMa37 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
[FilterScript] Coins System - Gold Coins, Silver Coins, Bronze v1.0 Edvin Filterscripts 26 02/01/2016 02:19 AM
need making currency hossamkandil Server Support 1 18/01/2014 09:52 PM
Currency format? Jack_Leslie Scripting Help 6 08/09/2011 12:06 AM


All times are GMT. The time now is 06:42 AM.


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