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"
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
PHP Code:
ActionMoney(id, ent)
{
if(g_money_used[id])
{
static property[5];
new AddValue, playerMoney;
GetProperty(ent, 1, property);
playerMoney = cs_get_user_money(id);
AddValue = str_to_num(property) + playerMoney;
cs_set_user_money(id, AddValue);
g_money_used[id] = false;
SCM_Print(id, "You have been given %s $!", property);
}
else{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "%s %s^nNext Use: Next Round", PLUGIN_PREFIX, PLUGIN_VERSION);
}
if (is_user_alive(id) && get_user_team(id) == 2)
{
set_hudmessage(gHudRed, gHudGreen, gHudBlue, gfTextX, gfTextY, gHudEffects, gfHudFxTime, gfHudHoldTime, gfHudFadeInTime, gfHudFadeOutTime, gHudChannel);
show_hudmessage(id, "%s %s^nThis block is for Terrorists Only !", PLUGIN_PREFIX, PLUGIN_VERSION);
}
}
No bugs founded yet, report them here if found
Hope you like it!
Attached Files Get Plugin or Get Source (hns_xp.sma - 54.2 KB) gameshop.cfg (682 Bytes) Get Plugin or Get Source (gameshop.sma - 26.3 KB)
Wyświetl pełny artykuł