Raised This Month: $ Target: $400
 0% 

No freelook using orpheu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
skatz_ws
Junior Member
Join Date: Aug 2019
Old 08-22-2019 , 11:53   No freelook using orpheu
Reply With Quote #1

Hey guys!
PHP Code:
public  Observer_IsValidTarget_Pre( const this, const iTarget, const bool:bOnlyTeam 
{
    if(
is_user_alive(iTarget) && skDia == DIA_ESCONDIDAS)
    {
        if(
get_team(iTarget) != 2)
        {
            static 
idid iTarget;
            while ((
id find_ent_by_class(id"player" )) != iTarget 
            {
                if(
get_team(id) != 2
                    continue;
                
                
OrpheuSetParam(2id);
                break;
            }
        }
    }

I have this orpheu function that blocks terrorist to watch another terrorist, just cts cam in first person, but they are allowed to see the other cameras like freelook etc and I want to block that too if its possible (without changing camera server cvars).
skatz_ws 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:16.


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