Raised This Month: $ Target: $400
 0% 

Events, log events, entities.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pizzahut
Senior Member
Join Date: Oct 2004
Old 05-14-2005 , 19:10  
Reply With Quote #8

I get a team ID of -1 for objects. I've also noticed that a sentry actually has two IDs, because it consists of socket and mounted gun. A team name is not returned.
Code:
    new tid, vtid     new team[8],vteam[8]     tid = get_user_team(id, team, 7)     vtid = get_user_team(victim, vteam, 7)     client_print(id, print_chat, "player team = %d, victim team = %d^n", tid, vtid)     // client_print(id, print_chat, "player team name = %s, victim team name = %s^n", team, vteam)
pizzahut 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 16:44.


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