SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 07/08/2015, 02:31 PM   #1
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Ottawa, Canada
Posts: 1,689
Reputation: 671
Default Default SAMP zone names (fading textdraw)

Zone names
(Singleplayer feature) This filterscripts restores the deafult SAMP 0.3- (earlier in samp 0.2 but was removed in 0.3) feature. The zone names, this filterscript shows zone names with textdraw fading effect exactly similar to GTA SA effect. Thanks to my Textdraws.inc include for making it easy to fade the textdraw.

Also this is plug-n-play ! Load the filterscirpt and thats it !

How does this work?
This simply will show you the city name first and then the zone name after it once the city is faded.

You can also change some settings from the script as well. Simple color, display time and etc settings.
Code:
#define MAX_ZONECITY_NAME			(45)
#define MAX_ZONECITY_DIFFERENCE		(10)
#define MAX_ZONECITY_COLOR			(0xA9C4E4FF)
#define MAX_ZONECITY_DISPLAYTIME	(3500)

Screenshot
- City display:


- After city, Zone display:


Downloads
zonenames.pwn - GITHUB

And you also require this include to compile:
textdraws.inc - Thread link
__________________

Last edited by Gammix; 08/08/2015 at 02:39 AM.
Gammix is offline   Reply With Quote
Old 07/08/2015, 05:53 PM   #2
zT KiNgKoNg
Gangsta
 
Join Date: Jun 2012
Location: $Location = $this->Location->Finder('United Kingdom');
Posts: 985
Reputation: 36
Default Re: Default SAMP zone names (fading textdraw)

Not bad, fairly simple; But good work non-the-less.
zT KiNgKoNg is offline   Reply With Quote
Old 07/08/2015, 06:03 PM   #3
Stanford
High-roller
 
Stanford's Avatar
 
Join Date: Feb 2012
Posts: 1,037
Reputation: 84
Default Re: Default SAMP zone names (fading textdraw)

This can be helpful, good job and keep up the good work!!
__________________
Y_Less: "That code compiles perfectly, but I can tell you now it won't make me a cup of tea."

Y_Less: "I've said this before. People think that MySQL is some simple plug-and-play magic bullet that you can use to just make your mode instantly better. They don't realise that the "L" in "SQL" means "language". So instead of programming PAWN, and using a bit of this mystery thing, you are now programming in two languages at once. If you spend months learning PAWN, you should spend the same time learning SQL, if not more - it is probably the more complex of the two languages, and not something that just gets bolted on to the side."
Stanford is offline   Reply With Quote
Old 02/07/2017, 03:18 AM   #4
Mobtiesgangsa
Little Clucker
 
Mobtiesgangsa's Avatar
 
Join Date: Oct 2016
Location: Skopje, Macedonia
Posts: 27
Reputation: 3
Default Re: Default SAMP zone names (fading textdraw)

Attachment 10741

i dont care if its a old thread who can help me i care

Last edited by Mobtiesgangsa; 26/08/2017 at 06:28 AM.
Mobtiesgangsa is offline   Reply With Quote
Old 02/07/2017, 04:00 AM   #5
MrAjusshi
Banned
 
Join Date: Jun 2017
Location: South Korea
Posts: 62
Reputation: 1
Default Re: Default SAMP zone names (fading textdraw)

Quote:
Originally Posted by Mobtiesgangsa View Post
Attachment 10741

i dont care if its a old thread who can help me i care
Why? Is making new thread is hard?

Btw, add this to your includes http://forum.sa-mp.com/showthread.php?t=575261
MrAjusshi is offline   Reply With Quote
Old 06/07/2017, 06:24 AM   #6
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Portugal
Posts: 7,091
Reputation: 736
Default Re: Default SAMP zone names (fading textdraw)

Quote:
Originally Posted by Gammix View Post

And you also require this include to compile:
textdraws.inc - Thread link
I think you mean this include: http://forum.sa-mp.com/showthread.php?t=602459
__________________
"Quem caiu e se levantou honrado era e honrado ficou..."


http://steamcommunity.com/id/pt_player/
PT 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
Need LA zone names in LS feartonyb Scripting Help 7 05/10/2013 07:17 PM
Can Anyone Help Me With Zone Names? Torus Scripting Help 2 26/05/2012 07:18 AM
Zone names Michael[NBK] Scripting Help 3 26/10/2011 03:20 PM
How to do a fading textdraw? PCheriyan007 Help Archive 5 10/06/2011 07:19 PM
Help With Fading a Textdraw RyDeR` Help Archive 4 30/06/2009 07:50 PM


All times are GMT. The time now is 09:57 PM.


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