[HELP] Little Help !!! +Rep1
#1

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
Reply
#2

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

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)