18.12.2016, 13:42
Helo, i dont know how to link textdraws. Textdraw1, Textdraw2, Textdraw3, Textdraw4 to Textdraw.
for example
for example
Код:
new Textdraw; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new Text:Textdraw4; public OnGameModeInit() { //Creating Textdraws Textdraw1 = TextDrawCreate(150.0, 170.0,"Text1"); Textdraw2 = TextDrawCreate(200.0, 170.0,"Text2"); Textdraw3 = TextDrawCreate(250.0, 170.0,"Text3"); Textdraw4 = TextDrawCreate(300.0, 170.0,"Text4"); //I want these to apply to textdraw1,2,3,4 TextDrawTextSize(Textdraw, 180, 180); TextDrawAlignment(Textdraw, 2); return 1; } //also to apply these to texdraw1,2,3,4 TextDrawShowForPlayer(playerid, Textdraw); TextDrawShowForPlayer(playerid, Textdraw);