Coding

 Reply to this postStart new topic

Drawing Texture

Michael.Knight1
post Jun 5 2012, 09:33 PM
Post #1


Member

Posts: 130
From: Germany
Joined: 24-March 12



Hello , I Design New Texture Have The Information About My Mod While Click on The Tab key will show this texture . but i has a problem , I Wanna While I leave the Button the texture will removed !! but in my script while i click on the key , the texture will drawing without remove , so plzz help mz and now .
The Script is on my main stripped biggrin.gif
CODE
:KRBTS_INSTRUCT
thread 'KRBTS_INSTRUCT'
0390: load_txd_dictionary "KRBTS"
038F: load_texture "INSTRUCT" as 1 // Load dictionary with 0390 first

:KRBTS_INSTRUCT_47
wait 0
if
   Player.Defined($PLAYER_CHAR)
jf @KRBTS_INSTRUCT_47
if
0AB0:   key_pressed 9
jf @KRBTS_INSTRUCT_47
jump @KRBTS_INSTRUCT_89

:KRBTS_INSTRUCT_89
038D: draw_texture 1 position 320.0 210.0 size 525.0 410.0 RGBA 255 255 255 255
jump @KRBTS_INSTRUCT_47


This post has been edited by Michael.Knight1: Jun 5 2012, 09:34 PM


--------------------
Michael Knight A shadowy flight into the dangerous world of a man who does not exist.
Michael Knight, a young loner on a crusade to champion the cause of the innocent, the helpless, the powerless, in a world of criminals who operate above the law.
Go to the top of the page
 
+Quote Post
LINK/2012
post Jun 6 2012, 03:26 AM
Post #2


I will kill you

Posts: 126
Joined: 13-May 11



You should use 03F0 to remove the texture
Go to the top of the page
 
+Quote Post
Michael.Knight1
post Jun 6 2012, 08:32 AM
Post #3


Member

Posts: 130
From: Germany
Joined: 24-March 12



QUOTE (LINK2012 @ Jun 6 2012, 04:26 AM) *
You should use 03F0 to remove the texture

OH , Sorry I forgot that , is worked , anyways thanks you man biggrin.gif

This post has been edited by Michael.Knight1: Jun 6 2012, 08:47 AM


--------------------
Michael Knight A shadowy flight into the dangerous world of a man who does not exist.
Michael Knight, a young loner on a crusade to champion the cause of the innocent, the helpless, the powerless, in a world of criminals who operate above the law.
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: