Raised This Month: $71 Target: $400
 17% 

Gameshop v1.0 by MokeN


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
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
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 01-23-2012 , 07:06   Re: Gameshop v1.0 by MokeN
Reply With Quote #2

Thanx man!
__________________
kiki33hun is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 01-23-2012 , 11:08   Re: Gameshop v1.0 by MokeN
Reply With Quote #3

Terrible code.
__________________
(Working on) Bomberman
- Powerups - Multiple-worlds - 78% -
Xalus is offline
grimvh2
Veteran Member
Join Date: Nov 2007
Location: Fishdot Nation
Old 01-23-2012 , 11:28   Re: Gameshop v1.0 by MokeN
Reply With Quote #4

Redudant.
__________________
I am out of order!
grimvh2 is offline
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

Forum Jump


All times are GMT -4. The time now is 06:34.


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