I need that for my server script, i heard something about sending rcon command, would that work, if yes how can i do that?
Check this for example kick command using rcon
http://famp.ru/wiki/SendRconCommand
Create icon? On radar or what :p?
SendRconCommand is not working
i tried this:
else if (strcmp(cmd, "!icon", true) == 0) {
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
SendRconCommand("set 16 14 %f %f %f",x,y,z);
SendClientMessage(playerid,COLOR_TEXT,"icon has been added!");
return 1;
}
Quote from: [AoD]NC on July 20, 2010, 06:54:01 PM
Create icon? On radar or what :p?
yes on radar
I have problem too.But if you want change time ( hour ) in game you can do it.when another player join the game it will change the time :))
here :
public OnPlayerConnect(playerid)
new thing = random(5);
if(thing == 0) {
SetWorldTime(23,0);
}
if(thing == 1) {
SetWorldTime(19,0);
}
if(thing == 2) {
SetWorldTime(10,0);
}
if(thing == 3) {
SetWorldTime(5,0);
}
if(thing == 4) {
SetWorldTime(3,0);
}
if(thing == 5) {
SetWorldTime(0,0);
}
any one can use SendRconcommands ??? It's exciting when auto rain or auto mist ...
Any way i'm looking for script delay !heal commands
when player type !heal
>>>pm : You have heal after 5 seconds....
and after 5 seconds player full heal ... i saw it in some server but i don't know how ???