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)
+--- Thread: GameText (
/showthread.php?tid=478784)
GameText -
Jesper00 - 01.12.2013
Hey i have this problem then i make this command
Код:
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "Welcome to Los Santos North Life",2000,2);
return 1;
}
It will not come up why?
Re: GameText -
Threshold - 01.12.2013
Style 2 is not recommended for use under OnPlayerConnect, unless you're willing to respawn your player before they've even spawned..
This code would be more suitable:
pawn Код:
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "Welcome to Los Santos North Life", 3000, 4);
return 1;
}
-
You can read about GameText styles here, and what each of them does and how they act:
https://sampwiki.blast.hk/wiki/GameTextStyle
Re: GameText -
Jesper00 - 01.12.2013
Thanks bro.- Can you help me with one more thing. Can you make me a Text draw screen there its says " Welcome to Los Santos North Life" with white colour?
Re: GameText -
Avi Raj - 01.12.2013
CreateTextdraw
ShowTextDrawForPlayer
****** them.
Re: GameText -
feartonyb - 01.12.2013
Quote:
Originally Posted by Jesper00
Thanks bro.- Can you help me with one more thing. Can you make me a Text draw screen there its says " Welcome to Los Santos North Life" with white colour?
|
Код:
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid, "~w~Welcome to Los Santos North Life", 3000, 4);
return 1;
}
If you need more help with that, this can help you:
https://sampwiki.blast.hk/wiki/GameTextStyle
Re: GameText -
Avi Raj - 01.12.2013
Huh..
He needs textdraw .