Jump to content

Problem getElementModel


Jumper_Mych

Recommended Posts

Doesn't work me code :o

Boss = { [113]=true } 
Marker = createMarker ( 0, 0, 24, "arrow", 1.5, 255, 135, 0, 83 ) 
  
function 123 (boses,cmd) 
    if isElementWithinMarker (boses, Marker) then 
    if Boss[getElementModel(boses)] then 
    cancelEvent() 
    setElementPosition (boses, 500, 500, 500) 
  else 
    outputChatBox ( "You're not a Mafia!", boses, 255, 0, 0) 
    end 
  end 
end 
addCommandHandler("goto", 123) 

help :D

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