TAPL Posted December 14, 2011 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).
Blaawee Posted December 14, 2011 Author 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
Blaawee Posted December 18, 2011 Author Posted December 18, 2011 (edited) [solved] Edited December 20, 2011 by Guest
Al3grab Posted December 18, 2011 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 )
Blaawee Posted December 18, 2011 Author 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]
Blaawee Posted December 20, 2011 Author 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"?"]
CapY Posted December 20, 2011 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.
Jaysds1 Posted December 22, 2011 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?
Blaawee Posted December 22, 2011 Author 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
TAPL Posted December 23, 2011 Posted December 23, 2011 easy way to open Hedit window executeCommandHandler("hedit")
Blaawee Posted January 6, 2012 Author 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
JR10 Posted January 7, 2012 Posted January 7, 2012 Does the drift resource have an exported function so you can get the drift?
Blaawee Posted January 7, 2012 Author 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
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