Raised This Month: $51 Target: $400
 12% 

Help / Support [HELP] Make extra items more expensive on especial round 5.0


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 12-01-2013 , 23:04   [HELP] Make extra items more expensive on especial round 5.0
Reply With Quote #1

Hi everybody, as the tittle say how i can make the items a little more expensive on for example nemesis and survivor rounds?.. thx in advance
wicho is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 12-02-2013 , 03:50   Re: [HELP] Make extra items more expensive on especial round 5.0
Reply With Quote #2

I think there are plenty of examples of it..... like the discount zp class i made itself.....but anyway ill tell u.. just check in selected_post while buying whether it is the round that u want or not if yes then set_user_ap and reduce the users AP by the extra cost u want......... easy as that....
__________________
You will find everything u need :-
Catastrophe is offline
wicho
Veteran Member
Join Date: Feb 2012
Location: GuateAmala
Old 12-02-2013 , 18:33   Re: [HELP] Make extra items more expensive on especial round 5.0
Reply With Quote #3

ya i thinking about that but how i can change the price info i mean: "nameofweapon" "price" then change to normally on infecion mode..

Last edited by wicho; 12-02-2013 at 20:40.
wicho is offline
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 12-02-2013 , 18:49   Re: [HELP] Make extra items more expensive on especial round 5.0
Reply With Quote #4

Editing main plugin
Just search by yourself and you will find out
__________________
alan_el_more is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 12-03-2013 , 09:51   Re: [HELP] Make extra items more expensive on especial round 5.0
Reply With Quote #5

Or you could just use this:-
PHP Code:
/**
 * Appends text to an item being displayed on the extra items menu.
 * Use this on the item select pre forward.
 *
 * @param text        Additional text to display.
 */
native zp_items_menu_text_add(const text[]) 
And make it like "item name" "price" "+ some tax or smthing like that"
this will make it look cooler....
__________________
You will find everything u need :-
Catastrophe 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 14:52.


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