Code:
$P_1 = 152.0
$P_2 = 438.0
:Shanker_Test
wait 0
SAMP.IsCommandTyped(1@)
0AD4: 2@ = scan_string 1@ format "%d %d %d" 3@ 4@ $HP
00D6: if
0B23: samp is_player_connected 3@
004D: jump_if_false @ERROR
0B36: samp 6@ = get_player_nickname 3@
if
4@ == 5
then say " /f %s [%d] incepe Testul pentru Materials License." 6@ 3@
$Test_OFF = 0
$Materials = 1
else
if
4@ == 4
then say " /f %s [%d] incepe Testul pentru Weapon License." 6@ 3@
$Test_OFF = 0
$Weapon = 1
else
if
4@ == 3
then say " /f %s [%d] incepe Testul pentru Fishing License." 6@ 3@
$Test_OFF = 0
$Fishing = 1
else
if
4@ == 2
then say " /f %s [%d] incepe Testul pentru Sailing License cu %d HP. " 6@ 3@ $HP
$Test_OFF = 0
$Sailing = 1
$HP = 0
else
if
4@ == 1
then say " /f %s [%d] incepe Testul pentru Flying License cu %d HP. " 6@ 3@ $HP
$Test_OFF = 0
$Flying = 1
$HP = 0
0C48: samp textdraw $Flying_TD create "Test" pos $P_1 $P_2
END
END
END
END
END
4@ = 0
SAMP.CmdRet
The Question is, how can I change textdraw Color?(Check at 4@ == 1)Can you give me an Example with Color green or smt like that?.
P.S: if you can let it opened, I will come back when I have other questions ).