Raised This Month: $51 Target: $400
 12% 

Plugin needed in Hide n Seek...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sweman
Junior Member
Join Date: Jan 2008
Old 01-09-2008 , 16:37   Plugin needed in Hide n Seek...
Reply With Quote #1

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...
sweman is offline
Old 01-09-2008, 16:59
fxfighter
This message has been deleted by fxfighter. Reason: gfaw
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 01-09-2008 , 18:40   Re: Plugin needed in Hide n Seek...
Reply With Quote #2

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
__________________
hugz` is offline
Send a message via AIM to hugz`
duck9402
Junior Member
Join Date: Nov 2007
Old 01-14-2008 , 07:59   Re: Plugin needed in Hide n Seek...
Reply With Quote #3

really the only thing that comes to mind is autorr or auto roudn restart..search for it
__________________
+KARMA if helpful
duck9402 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 05:17.


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