Raised This Month: $ Target: $400
 0% 

Set user invisible


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-10-2009 , 11:13   Set user invisible
Reply With Quote #1

i have it only on case1 but all player goes invisible ...

PHP Code:
        case 1:
        {
            
fm_strip_user_weapons(id);
            
fm_give_item(id"weapon_knife");
            
fm_give_item(id"weapon_galil");
            
fm_give_item(id"ammo_556nato");
            
fm_give_item(id"ammo_556nato"); 
            
fm_give_item(id"ammo_556nato");
            
fm_give_item(id"weapon_smokegrenade");
            
fm_give_item(id"weapon_hegrenade");
            
fm_give_item(id"weapon_usp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_give_item(id"ammo_45acp");
            
fm_set_user_maxspeedid280.0 ); 
            
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,20);    //Invisable must be tested. see : http://forums.alliedmods.net/showthread.php?t=20089&highlight=invisable&page=2 or try : http://forums.alliedmods.net/showthread.php?t=13032&highlight=invisable
            
new Float:gravity get_cvar_float("amxx_gravity");
            
gravity *= 0.0009
            set_task
0.1"IsInvis"id )
            
set_user_gravity(idgravity)  
            
fm_set_user_health(idget_pcvar_num(DOD_AssaultHP));
            
fm_set_user_armor(idget_pcvar_num(DOD_AssaultAR));
        
        } 
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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


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