Jump to content

why this doesnt work? [UNSOLVED]


HealthDown

Recommended Posts

SERVER:

hitmanMarker = createMarker ( 2303.4782714844, -2019.1921386719, 13.541597366333, "cylinder", 1.5, 205, 0, 0) 
  
function hitmanMarkerH( player ) 
    setPlayerTeam ( player, "Hitmen" ) 
end 
addEventHandler( "onMarkerHit", hitmanMarker, hitmanMarkerH )  

Edited by Guest
Link to comment
hitmanMarker = createMarker ( 2303.4782714844, -2019.1921386719, 13.541597366333, "cylinder", 1.5, 205, 0, 0) 
  
function hitmanMarkerH( player , mDim ) 
    if not mDim then return end 
    if getElementType ( player ) ~= "player" then return end 
    setPlayerTeam ( player, getTeamFromName ( "Hitmen" ) ) 
end 
addEventHandler( "onMarkerHit", hitmanMarker, hitmanMarkerH ) 

Off: You don't have to PM me.

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