^iiEcoo'x_) Posted March 12, 2017 Share Posted March 12, 2017 (edited) Hello , How To Create Ball ? local Object = createObject ( ... ) local Marker = createMarker ( ... ) addEventHandler ("onResourceStart",resourceStart, function ( ) attachElements ( Marker , Object ) end ) addEventHandler ("onMarkerHit",root, function ( aPlayer ) if source == Marker then if getElementType ( aPlayer ) == "player" and not isPedInVehicle ( aPlayer ) setElementVelocity ( Object , 1 , 0 , 0 ) end end end ) Edited March 12, 2017 by #_iMr.[E]coo Link to comment
^iiEcoo'x_) Posted March 12, 2017 Author Share Posted March 12, 2017 1 minute ago, #BrosS said: there is no then (͡° ͜ʖ ͡°) How ? Link to comment
#BrosS Posted March 12, 2017 Share Posted March 12, 2017 13 minutes ago, #_iMr.[E]coo said: How ? line 13 ,no apply for the condition and no ending (͡° ͜ʖ ͡°) Link to comment
^iiEcoo'x_) Posted March 12, 2017 Author Share Posted March 12, 2017 Just now, #BrosS said: line 13 ,no apply for the condition and no ending (͡° ͜ʖ ͡°) Only Error ? 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