Solved
#1

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

Reply
#2

log in as rcon admin
Код:
/rcon login [password]
than do
Код:
/rcon changemode [GM name]
always works
Reply
#3

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.
Reply
#4

Simple, create a timer with 15 seconds

Then create a function to execute:

pawn Код:
SendRconCommand("changemode x-tdm");
_________________________________________________

Basic Exemple:

pawn Код:
SetTimer("ChangeNewMode", 15000, true);
pawn Код:
public ChangeNewMode(playerid)
{
SendRconCommand("changemode x-tdm");
return 1;
}
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)