Plugin doesnt register event.
PHP Code:
Quote:
Quote:
|
Re: Plugin doesnt register event.
"CTransfer" event doesn't exist.
You have put that randomly or what? |
Re: Plugin doesnt register event.
Quote:
|
Re: Plugin doesnt register event.
http://amxmodx.org/funcwiki.php?sear...vent&go=search
The first param is the name of the event, you can find the events here the second parameter is the name of the function that's being called when the event is fired. example: PHP Code:
|
Re: Plugin doesnt register event.
I get these errors:
PHP Code:
PHP Code:
|
Re: Plugin doesnt register event.
PHP Code:
|
Re: Plugin doesnt register event.
Quote:
And it still doesnt work. PHP Code:
|
Re: Plugin doesnt register event.
That's because at roundstart you set the bool true, but you don't use it until a player changes team.
The code only sets the player to CS_TEAM_T if there is more then 1 terrorist at the moment a player switches team. What you need to do is make a new function that holds the code to change a player's team. And at roundstart and the TeamInfo event check if there is more then 1 T, if so call the function. |
Re: Plugin doesnt register event.
Quote:
So if you please.. |
Re: Plugin doesnt register event.
Nevermind, fixed it.
Thanks for all your support! |
| All times are GMT -4. The time now is 02:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.