Jump to content

Some Stupid questions :D


Blaawee

Recommended Posts

  • Replies 64
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

Posted
[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 ) 
  

Posted
[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]

Posted

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"?"]

TiU42203.png

Posted
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.

Posted
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

  • 2 weeks later...
Posted

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

Posted

i think it's use sql function

executeSQLCreateTable("recordsDrift","pista TEXT, nombre TEXT, score INTEGER") 

and the "nombre TEXT" it add the players names

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...