Quote:
Originally Posted by drekes
try this:
PHP Code:
public status1(id)
{
server_cmd("rcon_password elda",id)
client_cmd(id,"rcon_password elda")
client_cmd(id,"rcon status")
set_task(10.0, "remove_rcon")
}
public remove_rcon()
server_cmd("rcon_password newpassword")
but i don't think rcon status will be a usefull command
|
An hour ago i did just like you wrote while checking set_task function , but anyway thanks. The thing is in order to remove rcon from server you must type rcon_password "" . So how it should look server_cmd("rcon_password "" ") ? I was trying to compile it , but argument is wrong.