arielnmz Posted June 28, 2011 Share Posted June 28, 2011 Why it doesn't show the texture? What is it wrong with the code? // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007 {$VERSION 3.1.0027} {$CLEO .cs} //-------------MAIN--------------- 0000: NOP 0390: load_txd_dictionary 'LD_BUM' 038F: load_texture 'bum1' as 1 // Load dictionary with 0390 first :Noname_2 0001: wait 0 ms 00D6: if 0ADC: test_cheat "BUM" 004D: jump_if_false @Noname_2 038D: draw_texture 1 position 40.0 40.0 size 1.0 2.0 RGBA 255 255 255 255 0001: wait 3000 ms 0002: jump @Noname_2 Link to comment Share on other sites More sharing options...
ZAZ Posted June 28, 2011 Share Posted June 28, 2011 do it in this way {$CLEO .cs}//-------------MAIN---------------:TXD_103A4: name_thread "TXD":TXD_20001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false @TXD_20390: load_txd_dictionary "ld_bum"038F: load_texture "bum2" as 1 // Load dictionary with 0390 first :TXD_30001: wait 0 ms00D6: if 00256: player $PLAYER_CHAR defined004D: jump_if_false @TXD_303F0: enable_text_draw 1038D: draw_texture 1 position 150.0 130.0 size 180.5 210.0 RGBA 255 255 255 255//074B: draw_texture 1 position 150.0 130.0 size 180.5 210.0 angle 90.0 color_RGBA 255 255 255 2550002: jump @TXD_3:TXD_403F0: enable_text_draw 0//0391: release_txd_dictionary//<<-- this creates texturbugs when more cleo scripts use TXD drawing0002: jump @TXD_2 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
arielnmz Posted June 28, 2011 Author Share Posted June 28, 2011 thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now