23.07.2009, 20:56
Ok i got a textdraw in my gm advertising my website and for some reason it keeps dissapearing about a minute after i connect to my server, every single time.
This is what ive got
// TextDraws
new Text:Site;
Site = TextDrawCreate(1.000000,434.000000,"www.sargesworld.net");
TextDrawAlignment(Site,0);
TextDrawBackgroundColor(Site,0x00000099);
TextDrawFont(Site,1);
TextDrawLetterSize(Site,0.500000,1.500000);
TextDrawColor(Site,0xFFFFFFAA);
TextDrawSetOutline(Site,1);
TextDrawSetProportional(Site,1);
TextDrawSetShadow(Site,1);
The main body of the textdraw is in ongamemodeinit
And i have the following in onplayerconnect
TextDrawShowForPlayer(playerid,Site);
Any help would be greatly appreciated.
This is what ive got
// TextDraws
new Text:Site;
Site = TextDrawCreate(1.000000,434.000000,"www.sargesworld.net");
TextDrawAlignment(Site,0);
TextDrawBackgroundColor(Site,0x00000099);
TextDrawFont(Site,1);
TextDrawLetterSize(Site,0.500000,1.500000);
TextDrawColor(Site,0xFFFFFFAA);
TextDrawSetOutline(Site,1);
TextDrawSetProportional(Site,1);
TextDrawSetShadow(Site,1);
The main body of the textdraw is in ongamemodeinit
And i have the following in onplayerconnect
TextDrawShowForPlayer(playerid,Site);
Any help would be greatly appreciated.