AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to catch team change??is it right?? (https://forums.alliedmods.net/showthread.php?t=25217)

martins 03-10-2006 06:17

how to catch team change??is it right??
 
Code:
public client_infochanged(id){     new new_team[16],team     get_user_info(id,"team",new_team,15)     team = get_user_team(id)     if (equal(new_team,"allies"))     teamx = 2     else  if (equal(new_team,"axis"))     teamx =1     if ( !(team == teamx)){         //here is the code.....     } }

martins 03-10-2006 06:34

thx first.....................

wouter 03-10-2006 10:11

allies and axis isnt that for wolfenstein?

filou 03-10-2006 14:34

Quote:

Originally Posted by wouter
allies and axis isnt that for wolfenstein?

For DOD :wink:

martins 03-10-2006 22:25

oh.......yes...i got it....


All times are GMT -4. The time now is 20:23.

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