SA-MP Forums Archive
[HELP] Little Help !!! +Rep1 - 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] Little Help !!! +Rep1 (/showthread.php?tid=471252)



[HELP] Little Help !!! +Rep1 - VenomMancer - 22.10.2013

I am use this :

PHP код:
////===========================================///
////==Hostname Changer by Second / Geerdinho8==///
////===========================================///
#include <a_samp>
forward hostname();
public 
OnFilterScriptInit()
{
SetTimer("hostname",1000,1);//("     ");  <<< You can change the ammount of time the hostname stays till it changes(1000 = 1 second)
return 1;
}
public 
hostname()
{
   new var = 
random(2); //If you want less or more messages you can change the random(5); for example to random(8); if you have 8 different messages but dont forget to edit the cases too!!   switch (var)
   
switch (var)
   {
     case 
0SendRconCommand("hostname .: » Venom Gaming xTreme Freeroam « (0.3x) :.");
     case 
1SendRconCommand("hostname .: VGxF » DM/Freeroam/Stunt/Race « (0.3x) :.");
     
//case 2: SendRconCommand("hostname www.sa-mp.com");
     //case 3: SendRconCommand("hostname Don't be afraid to join.");
     ///case 4: SendRconCommand("hostname Hostname changer by Second"); // if you edit the texts, dont remove "hostname", otherwise it wont work!!
   
}} 
How to make Space on Hostname ?
I want my hostname on Center

Help me +Rep1


Re: [HELP] Little Help !!! +Rep1 - Unri - 22.10.2013

pawn Код:
#define HOST_NAME ".: » Venom Gaming xTreme Freeroam « (0.3x) :."
SendRconCommand("hostname \t                 "HOST_NAME"");



Re: [HELP] Little Help !!! +Rep1 - VenomMancer - 22.10.2013

Quote:
Originally Posted by Unri
Посмотреть сообщение
pawn Код:
#define HOST_NAME ".: » Venom Gaming xTreme Freeroam « (0.3x) :."
SendRconCommand("hostname \t                 "HOST_NAME"");
Not works

anyone can help me ?


Re: [HELP] Little Help !!! +Rep1 - Unri - 22.10.2013

I dont know how to do it with an auto changing hostname script, but if you want a static one, heres how you do it.
Open up your server.cfg, put your cursor before your servers name and press alt+0160. It will place an invisable symbol before the name. It will serve as a space and you can use them as much as you want - untill you run out of room.


Re: [HELP] Little Help !!! +Rep1 - VenomMancer - 22.10.2013

Quote:
Originally Posted by Unri
Посмотреть сообщение
I dont know how to do it with an auto changing hostname script, but if you want a static one, heres how you do it.
Open up your server.cfg, put your cursor before your servers name and press alt+0160. It will place an invisable symbol before the name. It will serve as a space and you can use them as much as you want - untill you run out of room.
i will try