12.07.2015, 11:44
Hi,
I don't know how but i created a textdraw and when the server changemode the textdraw gets disappeared..
Have a look on the images attached below.
and you can see the textdraw " Current map " is in a filterscript and the textdraw " Marathon Race " is in the gamemode.
I don't know how but i created a textdraw and when the server changemode the textdraw gets disappeared..
Код:
Textdraw2 = TextDrawCreate(500.799896, 431.573394, "Marathon Race"); TextDrawLetterSize(Textdraw2, 0.449999, 1.600000); TextDrawAlignment(Textdraw2, 1); TextDrawColor(Textdraw2, -16776961); TextDrawSetShadow(Textdraw2, 0); TextDrawSetOutline(Textdraw2, 1); TextDrawBackgroundColor(Textdraw2, 51); TextDrawFont(Textdraw2, 1); TextDrawSetProportional(Textdraw2, 1); public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, Textdraw2); return 1; }
and you can see the textdraw " Current map " is in a filterscript and the textdraw " Marathon Race " is in the gamemode.