flapjack3003 Posted August 4, 2014 Share Posted August 4, 2014 انا عايز اصلح كود اخليه يختار رقم الابوجيكت من الجدول بالحظ local table = {1607, 1604} addEventHandler ("onClientGUIClick", getRootElement(), function (button, state, absoluteX, absoluteY) if ( source == play ) then guiSetVisible(window,false) showCursor(false) local object= createObject( math.random(table),-713,957,11,90,0,0) end end ) Link to comment
TAPL Posted August 4, 2014 Share Posted August 4, 2014 local object = createObject(table[math.random(#table)],-713,957,11,90,0,0) 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