SA-MP Forums Archive
Help Hostname .. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Hostname .. (/showthread.php?tid=385054)



Help Hostname .. - Desi_Dude - 14.10.2012

How can i make my hostname chage after 3 seconds
As far i have seen in some servers It changes after afew seconds just as it is sending message..

Help please.:


Re: Help Hostname .. - Roel - 14.10.2012

pawn Код:
new string[128];
format(string,sizeof(string), "hostname %s", "yourhostname");
SendRconCommand(string);
Put this inside a timer, and just create an array includes all the names you wan't, or put it inside a cmd if you like to change it by yourself ingame.