WTF_ Posted August 30, 2017 Share Posted August 30, 2017 function aa () setPedGravity (source,0.0080) end addEvent ( 'gravity', true ) addEventHandler ( 'gravity' , root , function () setPedGravity ( source, 0.0040 ) setTimer ( aa,1000,1) end ) مساعدة بالله معي مشكلة في الكود [15:10:07] WARNING: ss\s.lua:4: Bad argument @ 'setPedGravity' [Expected element at argument 1, got nil] ذا هو المشكلة setPedGravity (source,0.0080) بالله مساعدة سريعة شباب Link to comment
^iiEcoo'x_) Posted August 30, 2017 Share Posted August 30, 2017 (edited) function aa ( uPlayer_ ) setPedGravity ( uPlayer_ , 0.0080 ) end addEvent ( 'gravity' , true ) addEventHandler ( 'gravity' , root , function ( ) setPedGravity ( source, 0.0040 ) setTimer ( function ( source ) aa ( source ) end , 1000 , 1 , source ) end ) Edited August 30, 2017 by #_iMr.[E]coo 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