[Help] Count player connecting ,etc....
I) Title
PHP Code:
II) 1) I want to add points into 2 variables , like this ..: Quote:
3)But points start counting only when the number of players connecting (not including SPECTATOR) is bigger than "cvar_playerrequired" <- that's not difficult for me...:oops: :oops: Can anybody help me , thanks in advance.... |
Re: [Help] Count player connecting ,etc....
1. You can use get_playersnum() without all that extra nonsense.
Code:
2. Check the player team, then change the variable accordingly. Code:
|
Re: [Help] Count player connecting ,etc....
Okay...Thanks for your help :D . I got the idea :D
|
Re: [Help] Count player connecting ,etc....
There is an already made plugin for this purpose.Check it if you want http://forums.alliedmods.net/showpost.php?p=1116423&postcount=13
|
Re: [Help] Count player connecting ,etc....
Quote:
PHP Code:
|
Re: [Help] Count player connecting ,etc....
Quote:
|
Re: [Help] Count player connecting ,etc....
Quote:
i have remembered Arkshine had shown a example, and I test it ! PHP Code:
|
Re: [Help] Count player connecting ,etc....
When you join the game ur 0, when you actually choose spectator on the menu ( wich is option 3 ) you will also be in team 3
|
All times are GMT -4. The time now is 00:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.