Auto Ready Plugin
Hello, I need a plugin for My Auto-Mix Server.
Which after 10 secs of Joining the server & after sv_restart. Uses say .ready command on player. (Like this may be? client_cmd(id, "say .ready"). |
Re: Auto Ready Plugin
Code:
Some what like this? But on "Joining server" & pcvar string "sv_restart" |
Re: Auto Ready Plugin
let me know if any bug occurs.
PHP Code:
|
Re: Auto Ready Plugin
@learning
1. There is no reason to declare specific task indexes when you aren't using them. 2. Function "client_start_command2" will send "say .ready" command to server, not a specific user. 3. Use loops instead ^. 4. Don't pass variables to tasks when you don't need them, pass only when you do. |
Re: Auto Ready Plugin
Quote:
1- how to delay the command "client_cmd(i , "say .ready")" in "Event_TextMsg_Restarting" function ? PHP Code:
|
Re: Auto Ready Plugin
Set a task, and do the loop in the task. Either check if player is connected or loop throughout connected players (get_playersnum native).
|
Re: Auto Ready Plugin
This should not have any issues
PHP Code:
|
Re: Auto Ready Plugin
It has an issue. You passed no value at "client_start_command", so "id" will be 0.
|
Re: Auto Ready Plugin
Quote:
|
Re: Auto Ready Plugin
Hy, Thanks !! Since, I don't know scripting, hence was not interrupting you, so, that theEsp may guide you to fix code, till yet, I'm using very 1st code.
|
| All times are GMT -4. The time now is 00:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.