AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get user team (https://forums.alliedmods.net/showthread.php?t=93880)

Atspulgs 06-03-2009 16:19

get user team
 
How can i get the team of the user that calls the function?

fysiks 06-03-2009 16:27

Re: get user team
 
PHP Code:

public function(id)
{
    new 
team get_user_team(id)



biscuit628 06-03-2009 16:27

Re: get user team
 
get_user_team(id) == 1 //ts
get_user_team(id) == 2 //ct

tuty 06-03-2009 16:33

Re: get user team
 
Quote:

Originally Posted by biscuit628 (Post 841004)
get_user_team(id) == 1 //ts
get_user_team(id) == 2 //ct



get_user_team(id) == 3 // spec
get_user_team(id) == 0 // unnasigned

Atspulgs 06-03-2009 16:53

Re: get user team
 
thx


All times are GMT -4. The time now is 13:59.

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