cs_get_user_team , case 1 , 2 & 3??
Hello , Previously I saw a thread regarding to this , But I tried finding it back but cant find it . What I meant by cs_get_user_team , case 1 , 2 & 3?? is that , Example , set_user_team for CT then case 1 : What will happen to CT and stuff.
set_user_team for T then case 2 : What will happen to T and stuff , Same for spec. |
Re: set_user_team , case 1 , 2 & 3??
What are you actually trying to do? [cs_]get_user_team() is more often used with a switch.
|
Re: set_user_team , case 1 , 2 & 3??
Lol. HUD Msg . Ok my mistake. edited.
|
Re: cs_get_user_team , case 1 , 2 & 3??
PHP Code:
|
Re: cs_get_user_team , case 1 , 2 & 3??
ok Thanks , Anyway how do you make it like if the user connect , the team is T , then the msg will appear?
|
Re: cs_get_user_team , case 1 , 2 & 3??
It depends on what your goal is. Easiest would be to hook spawn and do it then, IMO.
|
Re: cs_get_user_team , case 1 , 2 & 3??
Hmm .. Ok Thanks :D
|
Re: cs_get_user_team , case 1 , 2 & 3??
Quote:
You already have a spawn example, I'll show you a join team example: Code:
#include <amxmodx> |
Re: cs_get_user_team , case 1 , 2 & 3??
Thanks , I did this , But ,
PHP Code:
|
Re: cs_get_user_team , case 1 , 2 & 3??
Quote:
|
| All times are GMT -4. The time now is 23:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.