Raised This Month: $ Target: $400
 0% 

How to Strip User Item ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ujjl
Senior Member
Join Date: Jul 2009
Location: Hungary
Old 01-30-2010 , 15:34   Re: How to Strip User Item ?
Reply With Quote #2

PHP Code:
stock set_user_longjump(iPlayer_on 1) {    //force lj to a player, when other methods fail
    
if (!is_user_connected(iPlayer))
        return
    
    if (
_on)
    {
        
set_pdata_int(iPlayer,291,1,5)
        
engfunc(EngFunc_SetPhysicsKeyValueiPlayer"slj","1")
    }
    else
    {
        
set_pdata_int(iPlayer,291,0,5)
        
engfunc(EngFunc_SetPhysicsKeyValueiPlayer"slj","0")
    }

PHP Code:
set_user_longjump(id,0
EDIT: this is only for long-jump, in other case you have to strip all weapons, and give them back except what you wanted to remove
__________________
- blupi blupi
ujjl 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 07:17.


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