Posts: 607
Threads: 41
Joined: Apr 2009
I wan't to change gamode on peroid time, im searching for 15 minutes and finding NOTHING.
I know about this :
Quote:
SendRconCommand("x-tdm");
|
but i wan't to do it with timer. So if anyone can help me.
Yes i know im stupid :P
Posts: 607
Threads: 41
Joined: Apr 2009
Quote:
Originally Posted by BurningSWA
log in as rcon admin
Код:
/rcon login [password]
than do
Код:
/rcon changemode [GM name]
always works 
|
... i am not so much stupid.... I want to do that gamemode automaticaly changes.
Posts: 607
Threads: 41
Joined: Apr 2009
Quote:
Originally Posted by © Tђэ LυxυяiσN™
Simple, create a timer with 15 seconds
Then create a function to execute:
pawn Код:
SendRconCommand("changemode x-tdm");
pawn Код:
SetTimer("ChangeNewMode", 15000, true);
pawn Код:
public ChangeNewMode(playerid) { SendRconCommand("changemode x-tdm"); return 1; }
|
Thanks, Thanks and THANKS :P