iMr.WiFi..! Posted June 15, 2016 Share Posted June 15, 2016 انا سويت فنكشن يسوي كول شيب على اللاعب بس بائت بالفشل getClosePlayer = function ( Player, SizeX , SizeY ) if Player and SizeX and SizeY then if not tonumber(SizeX) then return outputDebugString("Bad Argument @2 'SizeX' ") end if not tonumber(SizeY) then return outputDebugString("Bad Argument @3 'SizeY' ") end if SizeX < 50 then return end if SizeY < 50 then return end Col = createColRectangle(SizeX,SizeY,50,50) attachElements(Player,Col) return Col else return false end end 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