Jump to content

تصحيح كود


Recommended Posts

انا عايز اخفى الابوجكيت رقم 1607 لما اكتب فى اف 8 اى شىء

local table = {1607, 3095} 
  
  
addEventHandler ("onClientGUIClick", getRootElement(), 
function (button, state, absoluteX, absoluteY) 
if ( source ==  play ) then 
guiSetVisible(window,false) 
showCursor(false) 
    local object = createObject(table[math.random(#table)],-713,957,11,90,0,0) 
    if ( getElementModel (object) == 1607 ) then 
    end 
       if ( getElementModel (object) == 3095 ) then 
end 
end 
end 
) 
function allvehiclesaredoomed() 
  
if ( getElementModel (object) == 1607 ) then 
  
 destroyElement ( object ) 
end 
end 
addCommandHandler("vdoom", allvehiclesaredoomed) 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...