#Paper Posted January 6, 2011 Posted January 6, 2011 The GUI don't show: function showSkinSelect() local skins = { 7,8...} SelectSkinBtn = guiCreateButton(45,517,368,124,"Select skin!",false) guiSetFont(SelectSkinBtn,"default-bold-small") SkinGridList = guiCreateGridList(46,176,367,321,false) Skinidcolumn = guiGridListAddColumn(SkinGridList,"Skin ID",0.2) for k, v in ipairs(skins) do SkinIdRow = guiGridListAddRow ( SkinGridList ) guiGridListSetItemText ( SkinGridList, SkinIdRow, Skinidcolumn, v, false, false ) end dxDrawText("Select your skin!",314.0,6.0,812.0,142.0,tocolor(255,0,0,255),2.0,"bankgothic","center","center",false,false,false) end addEventHandler("onClientPlayerJoin", getRootElement(), showSkinSelect) My skype: skiper964 I helped you? Help me! ^^ Help me bro! ^^
MatXpl Posted January 6, 2011 Posted January 6, 2011 https://wiki.multitheftauto.com/wiki/GuiSetVisible ? MTA:SA scripts/gamemodes/misc: http://www.mtasa.xn.pl
Dark Dragon Posted January 6, 2011 Posted January 6, 2011 onClientPlayerJoinThis event is triggered when a player joins a server. It is triggered for all players except the local player, as the local player joins the server before their client-side resources are started. try onClientResourceStart instead Loads of fun for free! Also a lot of fun for free!
Castillo Posted January 6, 2011 Posted January 6, 2011 drawing functions requires onClientRender to run. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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