Hi!
gibt es einen weg einen bestimmten wert ingame irgendwie darzustellen wie zb beim HFFF script $runstotal
danke
lg
gibt es einen weg einen bestimmten wert ingame irgendwie darzustellen wie zb beim HFFF script $runstotal
danke
lg
Func TextWriteLine($dll, $text, $ObjectNumber = 1, $PosX = 15, $PosY = 15, $SizeX = 600, $SizeY = 300, $TextColor = 0x9CFF00, $TextTrans = 455, $BlackBackground = 0, $FontSize = 18, $TextBold = 1)
If $TextTrans > 255 Then $TextTrans = 255
If $TextTrans < 0 Then $TextTrans = 0
$colorges = $TextColor + $TextTrans * 0x01000000
If $dll = -1 Then
SetError(1)
Return (-1)
EndIf
$return = DllCall($dll, "Int", "GPSL_SetTextLineData", "Int", $ObjectNumber, "ushort", $PosX, "ushort", $PosY, "Str", $text, "Int", $colorges, "Int", $BlackBackground, "Int", $FontSize, "Int", $TextBold, "Int", 1)
If @error > 0 Or $return = 0 Then
SetError(1)
Return (-1)
EndIf
$return = DllCall($dll, "Int", "GPSL_ShowText", "Int", $ObjectNumber, "Int", 1)
If @error > 0 Or $return = 0 Then
SetError(1)
Return (-1)
EndIf
EndFunc ;==>TextWriteLine
Func _ShowInfo($Info, $TimeS)
For $Time = 0 To $TimeS Step 1
Sleep(1)
$c = 0xFF00CC
TextWriteLine($dll, "[" & $Info & "]", 4, 75, 320, 0, 0, $c)
Next
TextWriteLine($dll, " ", 3, 75, 295, 0, 0, $c)
TextWriteLine($dll, " ", 4, 75, 320, 0, 0, $c)
Return (1)
EndFunc ;==>_ShowInfo
[B]_ShowInfo('BLABLA', 5000)[/B]