Raised This Month: $ Target: $400
 0% 

MOVETYPE_NOCLIP with gravity and physics?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GasmoN
Member
Join Date: Jul 2014
Old 01-26-2019 , 14:51   Re: MOVETYPE_NOCLIP with gravity and physics?
Reply With Quote #5

I don't get it at all now.

This is the part where i go to aspec but I don't know what do I need to add to render players.

PHP Code:
    if(!g_IsAspec[id])
    {
        
g_IsAspec[id] = true;
        
        if(
cs_get_user_team(id) != CS_TEAM_CT)
        {
            
cs_set_user_team(idCS_TEAM_CT)
            
ExecuteHamB(Ham_CS_RoundRespawnid)
        }
        else
        {
            
ExecuteHamB(Ham_CS_RoundRespawnid)
        }
        
        
set_user_rendering(idkRenderFxDistort000kRenderTransAdd127);
        
set_user_godmode(id1)
        
cs_set_user_team(idCS_TEAM_SPECTATOR)
        
set_group(id2)
        new 
i;
        new 
mp get_maxplayers()
        
        for(
1<= mpi++)
        {
            if(!
is_user_alive(i) || id == i)
            continue;
            
            
set_group(iGROUP_DEFAULT)
        }

GasmoN 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 20:27.


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