AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Plugin needed in Hide n Seek... (https://forums.alliedmods.net/showthread.php?t=65494)

sweman 01-09-2008 16:37

Plugin needed in Hide n Seek...
 
Hi everyone! I got a CS 1.6 Hide n Seek server that worked great until peolpe firgured out that if u join T a litle bit after the round starts u get a knife that wont be dropped by my plugin stripspawnweapons which works in the start of the round.
So i wonder if u could make a plugin which strips the knife of the Terrorists who joins after roundstart... or maybe if I could change something in stripspawnweapons.sma? :

Quote:

#include <amxmodx>
#include <engine>
public plugin_init() {
register_plugin("Strip Glock(T) and Usp(CT) on Spawn", "0.1", "VEN")
register_event("ResetHUD", "event_hud_reset", "be")
}
public event_hud_reset(id) {
set_task(0.1, "task_strip_glock_usp", id)
}
public task_strip_glock_usp(id) {
if (!is_user_alive(id))
return
new weapon_name[15]
switch (get_user_team(id)) {
case 1: weapon_name = "weapon_glock18"
case 2: weapon_name = "weapon_usp"
case 3: weapon_name = "weapon_knife"
default: return
}

new weapon = find_ent_by_owner(-1, weapon_name, id)
if (!weapon)
return
engclient_cmd(id, "drop", weapon_name)
new weaponbox = entity_get_edict(weapon, EV_ENT_owner)
if (!weaponbox || weaponbox == id)
return
remove_entity(weaponbox)
remove_entity(weapon)
}
Maybe a plugin like this already exist, but I've been looking everywhere with no result...

I need the help plzz...

hugz` 01-09-2008 18:40

Re: Plugin needed in Hide n Seek...
 
Heres the new hide n seek! Many bugs fixed, here are some of them:

Model bug
Late join bug(s)
Speed bugs
Walking during timer bug
Random crash bug!!

Check it out!

http://forums.alliedmods.net/showthread.php?t=65370

duck9402 01-14-2008 07:59

Re: Plugin needed in Hide n Seek...
 
really the only thing that comes to mind is autorr or auto roudn restart..search for it:up:


All times are GMT -4. The time now is 21:03.

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