21.10.2017, 18:07
Quote:
Eu gostaria de trocar a cor deste relуgio: http://prntscr.com/h01bje
Jб procurei por TogglePlayerClock mas aparece "text not found" algo assim. Se alguem puder me ajudar agradeceria muito! |
Esse print que vocк mandou, ele й nada menos que uma TextDraw !
Quando vocк tiver criado seu relуgio em TextDraw, coloque essas funзхes:
GLOBAL
TextDrawSetOutline(suatextdraw, 1);
TextDrawColor(suatextdraw, 0x000000FF);
TextDrawBackgroundColor(suatextdraw, 0x27E844FF);
Player
PlayerTextDrawSetOutline(playerid, suatextdraw, 1);
PlayerTextDrawColor(playerid, suatextdraw, 0x000000FF);
PlayerTextDrawBackgroundColor(playerid, suatextdraw, 0x27E844FF);
Para trocar a cor do relуgio basta trocar os valores das cores
Espero ter ajudado

@edit
Aqui vai uns links para facilitar seu trabalho:
Criador de TextDraw: https://sampforum.blast.hk/showthread.php?tid=117851
Todas as funзхes de uma TextDraw: https://sampwiki.blast.hk/wiki/Textdraw