Textdraw not showing in game help !
#1

new Text:helpingtext;

helpingtext = TextDrawCreate(156, 404, "/commands /help .");
TextDrawFont(helpingtext, 2);
TextDrawLetterSize(helpingtext, 0.55, 2.1);
TextDrawColor(helpingtext, 0x000000FF);
TextDrawSetOutline(helpingtext, 1);
TextDrawSetProportional(helpingtext, 1);
TextDrawSetShadow(helpingtext, 2);
TextDrawShowForAll(helpingtext);
Reply
#2

Did you put everything inside OnGamemodeInit?
Reply
#3

delete line with: TextDrawShowForAll(helpingtext);

Add this to public OnPlayerConnect or OnPlayerSpawn:

TextDrawShowForPlayer(playerid, helpingtext);

EDIT: Flamehaze7 is right, check that you are creating textdraw in public OnGameModeInit and then u can use what i wrote
Reply
#4

@Flamehaze7 Yes they are already inside OnGamemodeInit thanks @Hrb it worked thanks +Rep Both of you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)