TAPL Posted December 14, 2011 Share Posted December 14, 2011 does guiBringToFront and guiMoveToBack work with dxDrawImage anyway? i don't think use postgui https://wiki.multitheftauto.com/wiki/DxDrawImage postgui : A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI). Link to comment
Blaawee Posted December 14, 2011 Author Share Posted December 14, 2011 what i did is ,first i draw the dxDrawImage then i draw guiCreateStaticImage like the speedo do you think all i have to do is set the static image to back or i change postgui to false Link to comment
Blaawee Posted December 18, 2011 Author Share Posted December 18, 2011 (edited) [solved] Edited December 20, 2011 by Guest Link to comment
Al3grab Posted December 18, 2011 Share Posted December 18, 2011 [solved] , is there any way to create a background img for the freeroam window and all other window you will have to edit the freeroam window then bg = guiCreateStaticImage(...,freeroamWindow) guiMoveToBack(bg ) Link to comment
Blaawee Posted December 18, 2011 Author Share Posted December 18, 2011 [solved] , is there any way to create a background img for the freeroam window and all other window you will have to edit the freeroam window then bg = guiCreateStaticImage(...,freeroamWindow) guiMoveToBack(bg ) [solved] Link to comment
Blaawee Posted December 20, 2011 Author Share Posted December 20, 2011 how can i run resource from an other resource i got this : function openHedit() exports.hedit:toggleEditor() call ( getResourceFromName ( "hedit" ), "toggleEditor") end and debug says : failed to call toggleEditor [string"?"] Link to comment
CapY Posted December 20, 2011 Share Posted December 20, 2011 how can i run resource from an other resource i got this : function openHedit() exports.hedit:toggleEditor() call ( getResourceFromName ( "hedit" ), "toggleEditor") end Lol, why are you using "exports" and "call" together ? Edit: Show us the "toggleEditor" function too. Link to comment
Jaysds1 Posted December 22, 2011 Share Posted December 22, 2011 do you want to start another resource on the start of this resource or do you want something to trigger it to start? Link to comment
Blaawee Posted December 22, 2011 Author Share Posted December 22, 2011 how can i run resource from an other resource i got this : function openHedit() exports.hedit:toggleEditor() call ( getResourceFromName ( "hedit" ), "toggleEditor") end Lol, why are you using "exports" and "call" together ? Edit: Show us the "toggleEditor" function too. o.k i'll use the : exports.hedit:toggleEditor() about the hole code chake the hedit resource in : hedit\handlers\menu\subMenu do you want to start another resource on the start of this resource or do you want something to trigger it to start? i want trigger it to open the other resource windows Link to comment
TAPL Posted December 23, 2011 Share Posted December 23, 2011 easy way to open Hedit window executeCommandHandler("hedit") Link to comment
Blaawee Posted December 23, 2011 Author Share Posted December 23, 2011 thx TAPL it's work Link to comment
Blaawee Posted January 6, 2012 Author Share Posted January 6, 2012 hi guys i have this code addEventHandler ( "onPlayerChat", root, function ( msg, type , name) if messageType == 0 then cancelEvent () name = getPlayerName ( source ) outputChatBox ( "#FF0000[The Best] #ffffff= #ffffff[ " .. name .. "#ffffff ]: " .. msg, getRootElement(), 255, 255, 255, true ) end end) i'm using the drft resource , i want get the best drifter name when he chat Link to comment
JR10 Posted January 7, 2012 Share Posted January 7, 2012 Does the drift resource have an exported function so you can get the drift? Link to comment
Blaawee Posted January 7, 2012 Author Share Posted January 7, 2012 i think it's use sql function executeSQLCreateTable("recordsDrift","pista TEXT, nombre TEXT, score INTEGER") and the "nombre TEXT" it add the players names Link to comment
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