Raised This Month: $ Target: $400
 0% 

Can someone help me with this


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kimilover
Junior Member
Join Date: Oct 2010
Old 07-11-2013 , 08:03   Re: Can someone help me with this
Reply With Quote #3

man you use the fuctions cs_get_user_team and others without include the true inc files..
here you need the <cstrike> && <fun>...
i try to fix your code i hope to work..
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <hamsandwich> 
#include <cstrike>
#include <fun>


public plugin_init() { 
    
register_plugin("JB weapon strip""-""VMANcentral.com"); 
     
     
    
RegisterHam(Ham_Spawn"player""fwHamPlayerSpawnPost"1); 



public 
fwHamPlayerSpawnPost(id)  

    if(
cs_get_user_team(id) == CS_TEAM_T )  
    { 
        
strip_user_weapons(id)
    
give_item(id"weapon_knife")
    } 


Last edited by kimilover; 07-11-2013 at 08:06.
kimilover 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 06:28.


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