Space on "hostname"
#1

Hi guys! As i said in the title.. I just want to center the name ... on the sa-mp client i want to make "Stunt Evolution" to be in center
If someone could help me... xD

pawn Код:
#define HOST_R "Stunt Evolution"
Reply
#2

Search for
pawn Код:
CheckFiles();
. If you don't have Add it under OnGameModeInit(); and type
pawn Код:
CheckFiles();
    SetGameModeText(SERVER_GM_TEXT);
    SendRconCommand("hostname hostname with spaces");
    SendRconCommand("weburl if you want add your web url");
    SendRconCommand("mapname San Andreas");
and on the top of your script add
pawn Код:
#define SERVER_GM_TEXT "ChangeMe"
#define SERVER_GM_UPDATER "YourNameHere"
Reply
#3

I just want to center the name ... on the sa-mp client i want to make "Stunt Evolution" to be in center

LOL: how to use CheckFiles(); if i don't have this function?
Reply
#4

Quote:
Originally Posted by nGen.SoNNy
Посмотреть сообщение
I just want to center the name ... on the sa-mp client i want to make "Stunt Evolution" to be in center
Try to add some "_"
Reply
#5

I tried with space and tab and no shit..
Reply
#6

Quote:
Originally Posted by nGen.SoNNy
Посмотреть сообщение
I just want to center the name ... on the sa-mp client i want to make "Stunt Evolution" to be in center

LOL: how to use CheckFiles(); if i don't have this function?
Then try this
pawn Код:
#define HOST_R "           Stunt Evolution           "
I'm too late xD
Reply
#7

This will not help me...
Reply
#8

Quote:
Originally Posted by nGen.SoNNy
Посмотреть сообщение
This will not help me...
In charmap there is a letter that can't be seen, im searching for it xD
Reply
#9

@Sweez
- You've misunderstood, I guess!

@nGen.SoNNy
- I've tried that too long time ago and I found nothing. I used space or tab before the hostname and the result was "hostname" instead of " hostname ".

I also tried to find few ASCII symbols that I could use but no success.

EDIT: Got it.

Alt+0160

I added before the hostname at the server.cfg and works fine!
Reply
#10

i guess this is the answer!
i have been keeping this code in my notepad.

EXAMPLE


CODE
pawn Код:
#define HOST_R "Stunt Evolution"
SendRconCommand("hostname \t                    "HOST_R"");
EDIT
if you haven't read Dwane's code im just going to quote it maybe this will help you
Quote:
Originally Posted by Dwane
Посмотреть сообщение
EDIT: Got it.
Alt+0160

I added before the hostname at the server.cfg and works fine!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)