Raised This Month: $ Target: $400
 0% 

Colorate extra item cost.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AleCsz14
Member
Join Date: Dec 2013
Old 02-07-2014 , 14:40   Colorate extra item cost.
Reply With Quote #1

Hi, how i can edit the extra item cost color? Like:



Is it from extra item source or from some zp50 source?
AleCsz14 is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-07-2014 , 14:49   Re: Colorate extra item cost.
Reply With Quote #2

open them (both) and search using notepad, notepad2 or notpad++, etc.
__________________
ANTICHRISTUS is offline
AleCsz14
Member
Join Date: Dec 2013
Old 02-07-2014 , 15:04   Re: Colorate extra item cost.
Reply With Quote #3

Search what?
AleCsz14 is offline
Ra7eem
BANNED
Join Date: Feb 2014
Location: Egypt
Old 02-07-2014 , 15:27   Re: Colorate extra item cost.
Reply With Quote #4

post the 2 plugins (source) i'll try to help you

Last edited by Ra7eem; 02-07-2014 at 15:30. Reason: miss understanding
Ra7eem is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 02-08-2014 , 02:58   Re: Colorate extra item cost.
Reply With Quote #5

Quote:
Originally Posted by AleCsz14 View Post
Search what?
idk, try to search words like color, or read this.
__________________
ANTICHRISTUS is offline
K4rim
Senior Member
Join Date: Oct 2013
Location: Malaysia
Old 02-08-2014 , 04:50   Re: Colorate extra item cost.
Reply With Quote #6

Quote:
Originally Posted by AleCsz14 View Post
in zp50_items.sma find

PHP Code:
// Item available to player?
        
if (g_ForwardResult >= ZP_ITEM_NOT_AVAILABLE)
            
formatex(menucharsmax(menu), "\d%s %d %s"namecostg_AdditionalMenuText)
        else
            
formatex(menucharsmax(menu), "%s \y%d \w%s"namecostg_AdditionalMenuText
to
PHP Code:
// Item available to player?
        
if (g_ForwardResult >= ZP_ITEM_NOT_AVAILABLE)
            
formatex(menucharsmax(menu), "\d%s \r[%d%s packs]"namecostg_AdditionalMenuText)
        else
            
formatex(menucharsmax(menu), "%s \r[%d%s packs]"namecostg_AdditionalMenuText

Last edited by K4rim; 02-08-2014 at 09:55. Reason: hahaha..fix
K4rim is offline
AleCsz14
Member
Join Date: Dec 2013
Old 02-08-2014 , 07:33   Re: Colorate extra item cost.
Reply With Quote #7

Should be actually like:

Code:
// Item available to player? 
        if (g_ForwardResult >= ZP_ITEM_NOT_AVAILABLE) 
            formatex(menu, charsmax(menu), "\d%s \r[%d%s packs]", name, cost, g_AdditionalMenuText) 
        else 
            formatex(menu, charsmax(menu), "%s \r[%d%s packs]", name, cost, g_AdditionalMenuText)
To look same when u dont have ammo to buy them

Ty!
AleCsz14 is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 21:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode