Jump to content

iFoReX

Members
  • Posts

    1,708
  • Joined

  • Last visited

Everything posted by iFoReX

  1. si se es que lo que me confundio es eso de los modelos de vehiculos cuales son ? y para que se necesitan guardar ?
  2. mmm sigo sin entender :c
  3. Pero ai edikosh decia algo sobre unos autos que pasa con eso ?
  4. Solid para que sirbe eso ?
  5. @Tittle, please help me I want when the player1 wasted the player2 specatating for setTimer who can help me please
  6. iFoReX

    GUI Advanced

    thnx to all but my idea is teleport to the houses outside dont inside
  7. iFoReX

    GUI Advanced

    dont man , please tell me the events or functions
  8. iFoReX

    GUI Advanced

    This is my GUI but I need help GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Label = {} GUIEditor_Progress = {} GUIEditor_Window[1] = guiCreateWindow(100,191,363,551,"GUI Sistema de Warping de Casas",false) GUIEditor_Button[1] = guiCreateButton(11,75,228,44,"Warp a mi Primera Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[1],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(11,123,228,44,"Warp a mi Segunda Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[2],"default-bold-small") GUIEditor_Button[3] = guiCreateButton(11,169,228,44,"Warp a mi Tercera Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[3],"default-bold-small") GUIEditor_Button[4] = guiCreateButton(11,216,228,44,"Warp a mi Cuarta Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[4],"default-bold-small") GUIEditor_Button[5] = guiCreateButton(11,265,228,44,"Warp a mi Quinta Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[5],"default-bold-small") GUIEditor_Button[6] = guiCreateButton(11,314,228,44,"Warp a mi Sexta Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[6],"default-bold-small") GUIEditor_Button[7] = guiCreateButton(12,361,228,44,"Warp a mi Septima Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[7],"default-bold-small") GUIEditor_Button[8] = guiCreateButton(12,409,228,44,"Warp a mi Octava Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[8],"default-bold-small") GUIEditor_Button[9] = guiCreateButton(12,457,228,44,"Warp a mi Novena Casa",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[9],"default-bold-small") GUIEditor_Label[1] = guiCreateLabel(15,514,339,30,"GUI Creada por ElMota (c) 2012",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],200, 200, 0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Progress[1] = guiCreateProgressBar(272,71,29,436,false,GUIEditor_Window[1])
  9. iFoReX

    GUI Advanced

    Solid I want a GUI for warp to houses of House_system when click a button , now u understand ?
  10. iFoReX

    new JoinQuit

    thnx man sorry Im very nob
  11. iFoReX

    GUI Advanced

    Please help me , I want make a GUI Properties for House_system But I dont know How who can help ?
  12. iFoReX

    new JoinQuit

    I do this ? function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) ax = ax + w color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end last = e + 1 s, e, cap, col = str:find( pat, last ) end if last <= #str then cap = str:sub( last ) local w = dxGetTextWidth( cap, scale, font ) dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) end end local messageJoin = "" local messageQuit = "" function renderPlayerJoined ( ) dxDrawText("* ".. messageJoin,504.0,4.0,574.0,20.0,tocolor(200,0,0,255),0.7,"sans","left","top",false,false,false) end function renderPlayerLeft ( ) dxDrawText("* ".. messageQuit,503.0,16.0,573.0,32.0,tocolor(0,0,255,170),0.7,"sans","left","top",false,false,false) end addEventHandler('onClientPlayerJoin', root, function() messageJoin = getPlayerName(source) .. " a entrado al servidor." addEventHandler ( "onClientRender", root, renderPlayerJoined ) setTimer ( function ( ) removeEventHandler ( "onClientRender", root, renderPlayerJoined ) end ,6000,1 ) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('* ' .. oldNick .. ' is now known as ' .. newNick, 255, 100, 100) end ) addEventHandler('onClientPlayerQuit', root, function(reason) messageQuit = getPlayerName(source) .. " a salido del server [" .. reason .. "]" addEventHandler ( "onClientRender", root, renderPlayerLeft ) setTimer ( function ( ) removeEventHandler ( "onClientRender", root, renderPlayerLeft ) end ,6000,1 ) end ) ?
  13. iFoReX

    new JoinQuit

    I dont find the function man :c
  14. iFoReX

    new JoinQuit

    and how I can do for the colorcodes dont appear ?
  15. lol :stupiderror: in client-side I have addAccount and in server-side addAcount xDDD Now u can help me with this ? I done this man : addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor_Checkbox[1] ) then guiEditSetMasked ( GUIEditor_Edit[2], guiCheckBoxGetSelected ( source ) ) end end ) But Dont edit the masked
  16. But I added to server-side
  17. I have this error in debbugging and I cant register [2012-03-21 09:28:33] Resource 'logg' changed, reloading and starting [2012-03-21 09:28:33] WARNING: logg/tabla_client.lua [Client] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2012-03-21 09:28:33] Some files in 'logg' use deprecated functions. [2012-03-21 09:28:33] Use the 'upgrade' command to perform a basic upgrade of resources. [2012-03-21 09:28:33] Starting logg [2012-03-21 09:28:33] logg restarted successfully [2012-03-21 09:28:45] ERROR: Client triggered serverside event addAccount, but event is not added serverside
  18. iFoReX

    new JoinQuit

    thnx man nice JoinQuit
  19. solid but when I clicked the button the GUi closed
  20. iFoReX

    new JoinQuit

    the dxtext dont appear only in chatbox
  21. iFoReX

    new JoinQuit

    thnx I go to test in my server
  22. I done this but the button dont click :c addEvent("addAcount",true) -- add an event handler so that when submitLogin is triggered, the function loginHandler is called. addEventHandler("addAcount",root, registerPlayer)
×
×
  • Create New...