Jump to content

problem with a markerhit


iFoReX

Recommended Posts

Posted

when you type in "/o" in the chat, you could press "z".

Do you want it by it's self?

if so:

function elplayer( thePlayer ) 
    attachElements ( thePlayer, elobjeto, 0, 0, 0) 
end 
addEventHandler("onPlayerJoin",root,function() 
    bindKey(source,"z", "down", elplayer) 
end) 

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

Posted

ok, try the code I previously posted.

If you restart the code, your going to have to do /reconnnct while in-game.

function elplayer( thePlayer ) 
    attachElements ( thePlayer, elobjeto, 0, 0, 0) 
end 
addEventHandler("onPlayerJoin",root,function() 
    bindKey(source,"z", "down", elplayer) 
end) 

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

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