GameText
#1

How to change position of GameText??
Reply
#2

What do you mean ?
Reply
#3

use ~n~ for new lines to lower

https://sampwiki.blast.hk/wiki/GameTextStyle
Reply
#4

Quote:
Originally Posted by Darnell
Посмотреть сообщение
What do you mean ?
Very Obvious.

https://sampwiki.blast.hk/wiki/GameTextForPlayer
https://sampwiki.blast.hk/wiki/GameTextStyle
Reply
#5

Well, new information for me.
Reply
#6

pawn Код:
GameTextForPlayer(playerid, "~w~you are logged in our server", 4000, 3);
    GameTextForPlayer(playerid, "  ~n~~b~as ADMINISTRATOR", 4000, 3);
What is wrong here it only show "as ADMINISTRATOR" :S
Reply
#7

You add it under OnPlayerConnect ?
And as the administrator, first the player needs to be checked if he is an administrator.

pawn Код:
public OnPlayerConnect( playerid )
{
    GameTextForPlayer(playerid, "~w~you are logged in our server", 4000, 3);
    else if(!IsPlayerAdmin(playerid))
    GameTextForPlayer(playerid, "  ~n~~w~You are logged in our server~n~~b~as ADMINISTRATOR", 4000, 3);
    return 1;
}
I'm not sure this'll work though.
Reply
#8

Quote:
Originally Posted by Speed
Посмотреть сообщение
pawn Код:
GameTextForPlayer(playerid, "~w~you are logged in our server", 4000, 3);
    GameTextForPlayer(playerid, "  ~n~~b~as ADMINISTRATOR", 4000, 3);
What is wrong here it only show "as ADMINISTRATOR" :S
pawn Код:
GameTextForPlayer(playerid, "~n~~n~~w~you are logged in our server", 4000, 3);
    GameTextForPlayer(playerid, "  ~n~~b~as ADMINISTRATOR", 4000, 3);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)