Raised This Month: $ Target: $400
 0% 

Dispenser


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yagami
Senior Member
Join Date: Jan 2021
Old 07-29-2022 , 11:53   Re: Dispenser
Reply With Quote #1

There is a cvar called CVAR_LIMIT_PER_PLAYER it limits the amount of dispenser that all players can place what I want to do and create another cvar CVAR_LIMIT_VIP_PLAYER where only vip players can place two



HTML Code:
CVAR_LIMIT_PER_PLAYER = PLAYER 
CVAR_LIMIT_VIP_PLAYER = VIP, ADMINS ETC
Besides that I also want to modify dispenser values an example


PHP Code:
PLAYERS BUY MONEY 
gCvars
CVAR_COST_LV1 ] = register_cvar"disp_cost_lv1""4000" )
gCvarsCVAR_COST_LV2 ] = register_cvar"disp_cost_lv2""4000" );
gCvarsCVAR_COST_LV3 ] = register_cvar"disp_cost_lv3""4000" );
//gCvars[ CVAR_COST_LV4 ] = register_cvar( "disp_cost_lv4", "9000" );

DISPENSER PURCHASE MONEY FOR VIPSADMINS
gCvars
CVAR_VIPS_LV1 ] = register_cvar"disp_vips_lv1""2000" )
gCvarsCVAR_VIPS_LV2 ] = register_cvar"disp_vips_lv2""2000" )
gCvarsCVAR_VIPS_LV3 ] = register_cvar"disp_vips_lv3""2000" );
gCvarsCVAR_VIPS_LV4 ] = register_cvar"disp_vips_lv4""8000" ); 
yagami 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 15:34.


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