TD Question
#1

//nevermind
Reply
#2

pawn Код:
ShowPlayerTextDraw
Reply
#3

Please be more specific, what do you mean by "When TextDraw put under OnGameModeInit, when the OnPlayerConnect?", by looking at the text do you mean how to add the textdraw onplayerconnect or show the textdraw?

Well i'll just show both.

Showing OnPlayerConnect
pawn Код:
public OnPlayerConnect(playerid)
{
     TextDrawShowForPlayer(playerid,textdrawid);
     return 1;
}
Or adding textdraw in the callback onplayerconnect

pawn Код:
public OnPlayerConnect(playerid)
{
     Yeahhh = TextDrawCreate(280.0,550.0,"Yeahhhhhhh");
     return 1;
}
Reply
#4

xD, I know how add Textdraw

Question:

When add TextDraw under OnPlayerConnect?
When add TextDraw under OnGameModeInit?
Reply
#5

Quote:
Originally Posted by ZmaXy
Посмотреть сообщение
xD, I know how add Textdraw

Question:

When add TextDraw under OnPlayerConnect?
When add TextDraw under OnGameModeInit?
Sorry for acting stupid , but what you mean "when" add under those callbacks?
Reply
#6

the good example is

pawn Код:
//top of script
new LALATD;

//OnGamemodeinit
LALATD = //Textdraw code goes here

//OnPlayerConnect
TextDrawShowForPlayer(playerid, LALATD);
if you want to show by using a command then do the same as what i do onplayerconnect
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)