Function on all
Hey.
I want to make a plugin that includes round_start() it means that it is called when the round starts, now my question is, how do I do inside the public function that it checks all the players that are currently logged in the server and checks if they are CT? |
Re: Function on all
PHP Code:
|
Re: Function on all
Hey!
I made a code that is supposed to give all the CT players each round a defusal kit. Still it is not working, tell me why? PHP Code:
|
Re: Function on all
Because you never hooked round_start() to anything.
|
Re: Function on all
what do you mean? could you please elaborate?
I did the same with the public function player_connect() and didn't have to 'hook' it up to anything and it worked. How do I hook up round_start() to something that it will work?? please tell me |
Re: Function on all
|
Re: Function on all
Here is the new code, it doesn't work either.
Whats wrong?!? PHP Code:
|
Re: Function on all
Because you changed part of your code.
Quote:
Quote:
|
Re: Function on all
thank you very much!!
|
| All times are GMT -4. The time now is 23:31. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.