Raised This Month: $ Target: $400
 0% 

[Orpheu] Team Question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 05-07-2011 , 03:19   Re: [Orpheu] Team Question
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
What do you want to do ?

If you want to transfer player from T to CT or from CT to T, you can use CBasePlayer::SwitchTeam function.
i want to disable team change

the set_pdata dosent work for me and im already using orpheu for some things so i figured id give this a shot

Is this correct?

PHP Code:
{
    
"name" "ChangePlayerTeam",
    
"class" "CGameRules",
    
"library" "mod",
    
"arguments" :
    [
        {
            
"type" "CBasePlayer *",
            
"type" "char *",
            
"type" "int",
            
"type" "int"
        
}
    ],
    
"indexes" :
    [
        {
            
"os" "windows",
            
"mod" "cstrike",
            
"value" 45
        
},
        {
            
"os" "linux",
            
"mod" "cstrike",
            
"value" 47
        
}
    ]

if yes lol... how would i add that to a plugin? using getfunction didnt work for me says it cant find that on my server. its in

virtual functions/CGameRules/ChangePlayerTeam (no extension)

Last edited by Doc-Holiday; 05-07-2011 at 05:37.
Doc-Holiday 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 04:29.


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