20.11.2011, 12:49
I have a gamemode "Next Generation Stunting".I was thinking like my gamemode's hostname chnages every 2 seconds (because of teh code) is there a way i can keep changing my mode name and mapname the same way
forward hostname_change();
public hostname_change()
{
new hn[64] = "hostname NEW_HOSTNAME_GOES_HERE";
SendRconCommand(hn);
}
is there a way i can keep changing my mode name and mapname the same way
|
Hostnames don't update regularly in the SA:MP browser, so unless someone repeatedly presses the refresh button it's not going to do what you want. It updates about every 10 seconds. Here's the basics of what you need though:
pawn Code:
|