Hi Guys
How are u
i make a new script for race dm name : Donator i need ur help in this Script
and i create Button i need press button open window
you know how
And sorry for bad english
This is my code
panel = guiCreateWindow ( 0, 0, 0.5, 0.4, "Donator", true )
Tabpanel = guiCreateTabPanel ( 450, 250, 500, 400, false, panel )
TabDonator = guiCreateTab( "Donator", Tabpanel )
donator_store = guiCreateButton(380, 450, 110, 40, "Donator Store", false, TabDonator)
elseif source == donator_store
if getElementData(getLocalPlayer(), "isDonator") then
guiSetVisible (donator_store_window, true)
else
outputChatBox("[Donator] Sorry, this is only for donators", getLocalPlayer(), 255,0,0)
end