GameText - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GameText (
/showthread.php?tid=276030)
GameText -
Speed - 12.08.2011
How to change position of GameText??
Re: GameText -
Darnell - 12.08.2011
What do you mean ?
Re: GameText -
Mozz - 12.08.2011
use ~n~ for new lines to lower
https://sampwiki.blast.hk/wiki/GameTextStyle
Re: GameText -
Shockey HD - 12.08.2011
Quote:
Originally Posted by Darnell
What do you mean ?
|
Very Obvious.
https://sampwiki.blast.hk/wiki/GameTextForPlayer
https://sampwiki.blast.hk/wiki/GameTextStyle
Re: GameText -
Darnell - 12.08.2011
Well, new information for me.
Re: GameText -
Speed - 12.08.2011
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
-
Darnell - 12.08.2011
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.
Respuesta: Re: GameText -
Alex_Obando - 12.08.2011
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);