22.08.2011, 04:11
Olб pessoal,Preciso saber como mudar as coordenadas de um TextDrawUseBox por exemplo. Esse й o meu script
Ele adiciona um ChatBox segue o print
Preciso saber como mudar as coordenadas do box e botar ele em outro lugar da tela,como faзo isso?
Код:
public OnPlayerConnect(playerid) Textdraw0 = TextDrawCreate(17.000000,7.000000,"- - -"); Textdraw1 = TextDrawCreate(15.000000,5.000000,"- - -"); Textdraw2 = TextDrawCreate(19.000000,121.000000,"LeChatbox"); TextDrawUseBox(Textdraw0,1); TextDrawBoxColor(Textdraw0,0x00000066); TextDrawTextSize(Textdraw0,442.000000,395.000000); TextDrawUseBox(Textdraw1,1); TextDrawBoxColor(Textdraw1,0xffffff66); TextDrawTextSize(Textdraw1,445.000000,395.000000); TextDrawAlignment(Textdraw0,0); TextDrawAlignment(Textdraw2,0); TextDrawAlignment(Textdraw1,0); TextDrawBackgroundColor(Textdraw0,0x00000000); TextDrawBackgroundColor(Textdraw2,0x00000099); TextDrawBackgroundColor(Textdraw1,0xff000000); TextDrawFont(Textdraw0,1); TextDrawLetterSize(Textdraw0,1.000000,14.100000); TextDrawFont(Textdraw2,0); TextDrawLetterSize(Textdraw2,0.899999,2.400000); TextDrawFont(Textdraw1,3); TextDrawLetterSize(Textdraw1,0.899999,14.599998); TextDrawColor(Textdraw0,0x00000000); TextDrawColor(Textdraw2,0xffffffff); TextDrawColor(Textdraw1,0xff000000); TextDrawSetOutline(Textdraw0,1); TextDrawSetOutline(Textdraw2,1); TextDrawSetOutline(Textdraw1,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetProportional(Textdraw2,1); TextDrawSetProportional(Textdraw1,1); TextDrawSetShadow(Textdraw2,1); TextDrawSetShadow(Textdraw1,1); TextDrawShowForPlayer(playerid, Text:Textdraw0); TextDrawShowForPlayer(playerid, Text:Textdraw1); TextDrawShowForPlayer(playerid, Text:Textdraw2);
Preciso saber como mudar as coordenadas do box e botar ele em outro lugar da tela,como faзo isso?