Raised This Month: $ Target: $400
 0% 

fm_give_item


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drakeris
Senior Member
Join Date: Jul 2009
Old 10-27-2009 , 10:58   Re: fm_give_item
Reply With Quote #3

when i use just give_item() it crashes server...
PHP Code:
    if(PlayerClass[id] == CLASS_Rusher
    { 
        
set_user_health(id120); // Jei tu esi homeris tau duoda 100hp 
        
new Entity give_itemid"weapon_mp5navy" )
        
cs_set_weapon_ammoEntity30);   
        
cs_set_user_bpammo(idCSW_MP5NAVY100);
        
set_user_armor(id150);
        
set_pev(idpev_viewmodel2"models/v_mp.mdl")
    } 
if you need more then i put all the code but this is where i puten the giving command
P.S.i added that new enity thing
drakeris 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 17:31.


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