View Single Post
Plugin Info:     Modification:          Category:         
MokeN
Senior Member
Join Date: Jan 2012
Location: Vaasa, Finland
Old 01-23-2012 , 06:49   Gameshop v1.0 by MokeN
Reply With Quote #1

[HnS] Gameshop
v 1.0
by MokeN

Introduction:

-This is a hns shop for block servers, runs with hns money.
-Many have asked for this kinda shop, so i made one.
-HideNseek servers with blocks can't use HnS Shop v2.0 by xPaw and Grim
bcuz it has gravity. This one hasn't.


Credits:

- Fantarn [For a part of the idea]
- xPaw & Grim [For the original HnS Shop v2.0]

The gameshop features:

-Invincible
-255 hp
-Silent walk
-He Grenade
-Flash Grenade
-Smoke Grenade
-Awp
-Deagle
-Speed
-Stealth
-Respawn
-Camouflage
-You can buy XP for xp mod by Exolent. [NEW]


Commands:

PHP Code:
"say /gshop"
"say gameshop"
"say_team /gshop"
"say_team gameshop" 
Cvars:

Config:

PHP Code:
// other cfg
shop_on 1


// Cost cvars
invis_cost 3000
health_cost 4500
silent_cost 4000
he_cost 5200
flashgren_cost 4800
smokegren_cost 6000
awp_cost 9000
deagle_cost 6800
speed_cost 6000
stealth_cost 5000
respawn_cost 8000
camo_cost 5000
xp_cost 5000


 
// Time cvars                  
godmode_time 15.0 
silent_time 30.0 
speed_time 15.0  
stealth_time 15.0
camo_time 15.0 


// amount cvars
hp_amount 255
xp_amount 200
// Allow cvars
allowinvis 1
allowhp 1
allowsilent 1
allowhe 1
allowflash 1
allowsmoke 1
allowdeagle 1
allowawp 1
allowspeed 1
allowstealth 1
allowrespawn 1
allowcamo 1
allowxp 1 
Moneyblock, if block for this plugin wanted:
PHP Code:
ActionMoney(ident)
{
    if(
g_money_used[id])
    {
        static 
property[5];
        new 
AddValueplayerMoney;
        
GetProperty(ent1property);
        
playerMoney cs_get_user_money(id);
        
AddValue str_to_num(property) + playerMoney;  
        
cs_set_user_money(idAddValue);
        
g_money_used[id] = false;
        
SCM_Print(id"You have been given %s $!"property);
    }
    else{
        
set_hudmessage(gHudRedgHudGreengHudBluegfTextXgfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTimegfHudFadeOutTimegHudChannel);
        
show_hudmessage(id"%s %s^nNext Use: Next Round"PLUGIN_PREFIXPLUGIN_VERSION);
    }
    
    if (
is_user_alive(id) && get_user_team(id) == 2)
    {
    
set_hudmessage(gHudRedgHudGreengHudBluegfTextXgfTextYgHudEffectsgfHudFxTimegfHudHoldTimegfHudFadeInTimegfHudFadeOutTimegHudChannel);
    
show_hudmessage(id"%s %s^nThis block is for Terrorists Only !"PLUGIN_PREFIXPLUGIN_VERSION);
    }

HNS XP MOD NEEDED

No bugs founded yet, report them here if found

Hope you like it!
__________________
Private Works:
- Achievements, HNS & JB Menus, HNS & JB Shops

mY BlockMaker - mY Steam - mY Game Menu

Last edited by Arkshine; 01-23-2012 at 11:46.
MokeN is offline
Send a message via Skype™ to MokeN