Raised This Month: $ Target: $400
 0% 

cs_set_user_team and TeamInfo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kotinha
Senior Member
Join Date: Jun 2009
Location: Alentejo, Portugal :)
Old 05-07-2011 , 16:08   cs_set_user_team and TeamInfo
Reply With Quote #1

What's the difference between using cs_set_user_team() and this (except that cs_set_user_team only works witch counter-strike):
PHP Code:
public changeTeamInfo (playerteam[])
{
    
message_begin (MSG_ONEget_user_msgid ("TeamInfo"), _player)    // Tells to to modify teamInfo (Which is responsable for which time player is)
    
write_byte (player)                // Write byte needed
    
write_string (team)                // Changes player's team
    
message_end()                    // Also Needed

__________________
"If God exists, I hope he has a good excuse." - Woody Allen
kotinha 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:19.


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