Jump to content

problem with a markerhit


iFoReX

Recommended Posts

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) 

Link to comment

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) 

Link to comment

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