Problem with Textdraw
#1

Hey i have problem in my Textdraw it disappears when player leaves the server and appears again in few seconds idk whats wrong with that, here is the code,

Код:
new Text:ServerMSG;

new RMessages[][] =
{
	"~g~Use /help and /cmds to know more about the server.",
	"~g~Seen any hacker? Use /report [ID][REASON].",
	"~g~Need any help? Feel free to ask any admin online."

};
UNDER ONGAMEMODEINIT ___ IF numbers used needed tell me

Код:
SetTimer("MSG", 8000, true);
	ServerMSG = TextDrawCreate(Removed, Removed, "Server MSG");
	TextDrawColor(ServerMSG, Light_Blue);
	TextDrawFont(ServerMSG, Removed);
	TextDrawLetterSize(ServerMSG, Removed, Removed);
	TextDrawSetProportional(ServerMSG, Removed);
	TextDrawSetOutline(ServerMSG, Removed);
	TextDrawSetShadow(ServerMSG, Removed);
	TextDrawBackgroundColor(ServerMSG, White);
	TextDrawUseBox(ServerMSG, Removed);
	TextDrawBoxColor(ServerMSG, Gray);
	TextDrawTextSize(ServerMSG, Removed, Removed);
UNDER ONPLAYERDISCONNECT

TextDrawHideForPlayer(playerid, ServerMSG);
///////////////////
Код:
public MSG()
{
	TextDrawSetString(ServerMSG, RMessages[random(sizeof(RMessages))]);
	return 1;
}
UNDER ON PLAYER SPAWN
Код:
 TextDrawSetString(ServerMSG, RMessages[random(sizeof(RMessages))]);
	TextDrawShowForPlayer(playerid, ServerMSG);
Reply


Messages In This Thread
Problem with Textdraw - by Rockyyy - 11.04.2015, 12:35
Re: Problem with Textdraw - by JaKe Elite - 11.04.2015, 12:41
Re: Problem with Textdraw - by Rockyyy - 11.04.2015, 13:49
Re: Problem with Textdraw - by Rockyyy - 12.04.2015, 01:11
Re: Problem with Textdraw - by Rockyyy - 16.04.2015, 13:02
Re: Problem with Textdraw - by Azula - 16.04.2015, 13:08
Re: Problem with Textdraw - by ATGOggy - 16.04.2015, 15:20
Re: Problem with Textdraw - by Rockyyy - 01.05.2015, 15:23
Re: Problem with Textdraw - by Evocator - 01.05.2015, 15:39
Re: Problem with Textdraw - by tantri - 01.05.2015, 17:30

Forum Jump:


Users browsing this thread: 1 Guest(s)