Raised This Month: $ Target: $400
 0% 

Help with Drop-weapon script


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
goodtod
New Member
Join Date: Dec 2004
Old 12-25-2004 , 19:03   Help with Drop-weapon script
Reply With Quote #1

I am writing a simple script for use with CSDM on scoutzknivez. The script should drop the scout whenever the player spawns(not just on a new round). Tell me what I'm doing wrong?
Code:
#include <amxmodx>


public plugin_init() { 
	
	register_plugin("scoutzknivez drop","0.1","goodman")
	new mapname[33]
	get_mapname(mapname,32)
	if(containi(mapname,"scoutzknivez") > -1 ) {  
		register_event("ResetHUD", "new_spawn", "be")
		}
} 

public new_spawn()
{
	client_cmd(0,"drop weapon_scout")
	return PLUGIN_CONTINUE
}
Thanks in advance you guys...
goodtod is offline
 


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 19:21.


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