addEventHandler("onClientGUIClick",root,
function ( )
if source == NextMapButton then
guiSetVisible( SoonWindow ,false)
guiSetVisible( NextMapWindow ,true)
guiSetVisible( StatsWindow ,false)
guiSetVisible( CarShopWindow ,false)
elseif source == SoonButton then
guiSetVisible( NextMapWindow ,false)
guiSetVisible( SoonWindow ,true)
guiSetVisible( StatsWindow ,false)
guiSetVisible( CarShopWindow ,false)
elseif source == StatsButton then
guiSetVisible( CarShopWindow ,false)
guiSetVisible( StatsWindow ,true)
guiSetVisible( SoonWindow ,false)
guiSetVisible( NextMapWindow ,false)
elseif source == CarShopButton then
guiSetVisible( NextMapWindow ,false)
guiSetVisible( CarShopWindow ,true)
guiSetVisible( StatsWindow ,false)
guiSetVisible( SoonWindow ,false)
end
end
)
صح الكود ._. بس مدري وش السبب جرب كذآ