Raised This Month: $ Target: $400
 0% 

help with give item and restrict all weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
lashsh
BANNED
Join Date: Jun 2010
Location: Georgia, Tbilisi
Old 08-06-2010 , 17:17   help with give item and restrict all weapons
Reply With Quote #1

help with give item and restrict all weapons


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <hamsandwich>
#include <cstrike>

#define PLUGIN "Knife Mod + respawn"
#define VERSION "0.1"
#define AUTHOR "LaSsHhH"
#define CHECKS 10

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)    
}


public 
client_putinserver(id

         
set_task(1.0"_checkClient"id__"a"CHECKS); 
}

public 
_checkClient(id

         if(!
is_user_connected(id) || is_user_alive(id) || (cs_get_user_team(id) != CS_TEAM_CT) || (cs_get_user_team(id) != CS_TEAM_T)) 

         
ExecuteHamB(Ham_CS_RoundRespawnid); 

    
give_item(id"weapon_knife")

lashsh is offline
Send a message via Skype™ to lashsh
 


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 00:12.


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