How to chek if player is connected and is in CT or T team?
How to chek if player is connected and is in CT or T team?
PHP Code:
HTML Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler. |
Re: How to chek if player is connected and is in CT or T team?
Try this way
PHP Code:
|
Re: How to chek if player is connected and is in CT or T team?
Ops, i edited my funcion, small fail:
is not get_user_team is cs_get_user_team PHP Code:
|
Re: How to chek if player is connected and is in CT or T team?
Yes.
|
Re: How to chek if player is connected and is in CT or T team?
Well you asked how to check if player is connected and on what team he is.
Yes from your code prototype I see you compare two players, but what exactly you trying to achieve? |
Re: How to chek if player is connected and is in CT or T team?
I try to check if 2 players is connected, and player A is in TR or CT team, and player B is in TR or CT team.
PHP Code:
|
Re: How to chek if player is connected and is in CT or T team?
Opposite teams?
|
Re: How to chek if player is connected and is in CT or T team?
Its capitains in team :)
But, capitain 1 or 2 its connected to server |
Re: How to chek if player is connected and is in CT or T team?
But you must strore players ID somewhere,somehow.
You can loop through players and do some checks PHP Code:
Maybe you need somthing like this? How you know if player is Captain? PHP Code:
|
Re: How to chek if player is connected and is in CT or T team?
Solved/
|
| All times are GMT -4. The time now is 03:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.