Raised This Month: $ Target: $400
 0% 

Unknown command: jointeam [HLDM]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BFK_GoNER
Junior Member
Join Date: Feb 2009
Location: Holland
Old 02-12-2009 , 01:14   Unknown command: jointeam [HLDM]
Reply With Quote #1

Hey everybody,

I am trying to strip the players of all weapons whenever they pick up one. I use the following code. However, it does not seem to work with grenades, bugs and satchels. It's really weird, try for yourself:

PHP Code:
#include <amxmodx>
#include <fun>
 
new PLUGIN[]="test123"
new AUTHOR[]="gonr"
new VERSION[]="1.00"
 
public plugin_init()
{
     
register_plugin(PLUGINVERSIONAUTHOR)
     
register_event("WeapPickup""WepPkd""be")
}

public 
WepPkd(id)
{
    
set_task(0.1"WeaponPicked"id)
    return 
PLUGIN_CONTINUE
}

public 
WeaponPicked(id)
{
    
strip_user_weapons(id)
    
client_print(idprint_chat"Picked up")
    return 
PLUGIN_CONTINUE

I would appreciate any help from you guys
Thanks!

Last edited by BFK_GoNER; 02-13-2009 at 02:00.
BFK_GoNER is offline
 



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 16:51.


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