AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   get_user_team with TS? (https://forums.alliedmods.net/showthread.php?t=45676)

-Badboy- 10-08-2006 17:53

get_user_team with TS?
 
Hello. Everytime I use "get_user_team(id) == TEAMHERE" for "The Specalists" it dosen't work. I tryed to put TEAM_AGENT, and just AGENT (and agent). I looked trough TSX and there is nothing there to help. Any suggestions?

blackops7799 10-08-2006 20:13

Re: get_user_team with TS?
 
Try using

Code:

get_user_info(id,"model",model,32)
        if(equali(model,"Team/model"))
        {

since the team is the name of the model that should work

-Badboy- 10-08-2006 20:25

Re: get_user_team with TS?
 
Yea thanks that helped a lot. + Karma :D


All times are GMT -4. The time now is 04:57.

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