Lahiru_samp Posted June 25, 2016 Share Posted June 25, 2016 (edited) How can i make any screen text ?(code) like this im new i did like this 00BA: show_text_styled GXT 'FEM_OK' time 1000 style 1 but i can't add any text , only GXT texts Edited June 25, 2016 by Lahiru_samp koragg 1 Link to comment Share on other sites More sharing options...
ZAZ Posted June 25, 2016 Share Posted June 25, 2016 (edited) for cleo script? do you have cleo installed? or only main.scm coding without cleo installed? Edited June 25, 2016 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
X-Falcon Posted June 25, 2016 Share Posted June 25, 2016 Easy but make sure you read about data types in Sanny builder, this about very basic text string. then by latest Cleo that had implant 0ADF. Create your custom text: 0ADF: add_dynamic_GXT_entry '_TEST' your_text "Hello World!" Test the new gxt with the it's custom title example now: '_TEST' 00BA: show_text_styled GXT '_TEST' time 1000 style 1 To Remove GXT use 0AE0: 0AE0: remove_dynamic_GXT_entry '_TEST' Other similliar about GXT or show text. Can by direct create .FXT file in “GTA San Andreas\CLEO\cleo_text” folder. See at ZAZ or Rapier post: CLEO Script Tutorial ~ZAZ Custom Text Box ~Rapier Have fun! koragg 1 Link to comment Share on other sites More sharing options...
Lahiru_samp Posted June 25, 2016 Author Share Posted June 25, 2016 (edited) Thanks X-Falcon and zaz , it worked! for cleo script? do you have cleo installed?or only main.scm coding without cleo installed? Yes cleo Edited June 25, 2016 by Lahiru_samp Link to comment Share on other sites More sharing options...
Lahiru_samp Posted June 25, 2016 Author Share Posted June 25, 2016 (edited) can you also tell about making screen text in san andreas multiplayer , worked in single player wasn't worked in samp :\ Edited June 25, 2016 by Lahiru_samp Link to comment Share on other sites More sharing options...
ZAZ Posted June 26, 2016 Share Posted June 26, 2016 (edited) X-Falcon showed methods to create dynamic gxt (requires cleo4) He also gave link to the lesson about create fxt, hmm... ok.. better click this link: Create a FXT file (works for cleo 3 and 4) Cleo makes possible to use a custom file to store text for using ingame its called fake XT, according to the gxt file of the game Cleo_text folder must be a sub folder of Cleo folder The fxt file must be placed in Cleo_text folder - Cleo\Cleo_text: text.fxt The fxt file will be read by game start. If you have modified your fxt file it needs first to close the game complete and then start again to apply the changes. To create a fxt file needs to insert an entry name for the script and the real text to show, in a normal txt file Then rename the file by chaning the extension from .txt into .fxt Or create it directly with Sannybuilder and save it as .fxt , choose Any file (*.*) as extension Entry name for the script and the real text to show must be done in this way: only 1 space between Entryname and text message Important: only 1 space between words of the text message are allowed and NO space at the end Maximum 7 symbols as entry name are allowed Exemble: Copy this line into a blanc page and save it as anyname.fxt TXT_01 This is text of Cleo fxt fileThen use the script below to show the text by key_press {$CLEO .cs}:FXT03A4: name_thread 'FXT':FXT_010001: wait 0 msif0AB0: key_pressed 84//--------- key = T004D: jump_if_false @FXT_0100BA: text_styled 'TXT_01' 1000 ms 10A93: end_custom_threadThe opcodes to show text are the same like to show text of american.gxtThere exist several opcodes to show text in different kinds. Look in opcode search tool. Or look in Dutchys coding tut If you wonna use entry names of american.gxt to use its text messages, so look for a complete translation txt file in Sanny Install directory: Sanny Builder 3\help\GXT Strings\GTASA.text If you have cleo 3, it requires to install the GxtHook.cleo in Cleo folder and an extra folder for the fxt files many users made it wrong, so again the explanation: GxtHook.cleo must be placed in Cleo folder, not in a sub folder Cleo_text folder must be a sub folder of Cleo folder The fxt file must be placed in Cleo_text folder GTASA game dir - Cleo:GxtHook.cleo - Cleo\Cleo_text: text.fxt can you also tell about making screen text in san andreas multiplayer , worked in single player wasn't worked in samp :\ Cleo wasn't developed to work in multiplayer mode, but some people made cleo extensions for sa-mp, therefor you have to go here Edited June 26, 2016 by ZAZ CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
Lahiru_samp Posted June 26, 2016 Author Share Posted June 26, 2016 Thanks zaz 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