teronrussellagain Posted March 12, 2011 Share Posted March 12, 2011 local myMarker = createMarker( 1552.9769287109, -1676.8201904297, 15.1953125, 'cylinder', 2.0, 255, 0, 0, 150 ) function MarkerHit( hitElement, matchingDimension ) setElementModel(thePlayer,280) end addEventHandler( "onMarkerHit", myMarker, MarkerHit ) Error: Warning : lua:4: Bad argument @ 'setElementModel Link to comment
Moderators Citizen Posted March 12, 2011 Moderators Share Posted March 12, 2011 Hi, You have to replace thePlayer by hitElement Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now