Jump to content

iFoReX

Members
  • Posts

    1,708
  • Joined

  • Last visited

Everything posted by iFoReX

  1. iFoReX

    TelePort Error

    dont, only my account name can teleport in the market
  2. iFoReX

    TelePort Error

    thnx mans It work now This is my script .lua local x = 685.62610 local y = -2692.39307 local z = 7.5 local x2 = 294.38306 local y2 = -167.90103 local z2 = 1.57813 local market = createMarker ( x, y, z, "cylinder", 1.5, 0, 0, 255, 170 ) local market2 = createMarker ( x2 + 2, y2, z2 - 1, "cylinder", 1.5, 0, 0, 255, 170 ) addEventHandler ( 'onClientMarkerHit', root, function ( player ) if ( player == localPlayer and source == market ) then setTimer(setElementPosition, 2000, 1, player, x2, y2, z2 ); elseif ( player == localPlayer and source == market2 ) then setTimer(setElementPosition, 2000, 1, player, x + 2, y + 2, z + 2 ); end end ) But , can help me with this ? I want only my name can teleport in 1 market , can help me please ?
  3. iFoReX

    TelePort Error

    when teleport to the pos
  4. iFoReX

    TelePort Error

    thnx draken but I want put a setTimer u can help me ?
  5. I created a market and work but when Im inside of market I dont teleport here my code .lua local x = 685.62610 local y = -2692.39307 local z = 7.5 local market = createMarker ( x, y, z, "cylinder", 1.5, 0, 0, 255, 170 ) function markerHit (hitPlayer) if ( hitPlayer == localPlayer ) then setElementPosition(0,0,0) end end addEventHandler ("onClientMarkerHit", market, markerHit)
  6. alexs eso de crear la GUI para los jefes del clan es algo no tan facil
  7. hitefolks Mappear no es remover cosas mappear es crear maps y agregarles objetos vehiculos pickups markers , etc.
  8. iFoReX

    Webs Para Stream

    Nice IDEA OTTO ! me encanto esa web NICE Idea
  9. Yakusa no me Importa la plata ni nada de eso pero es verdad , para scriptear ai que gastar mucho tiempo y pos yo nunca gastaria tiempo solo por ser admin en un server, ademas Si el quiere ayuda en GUIs yo lo puedo ayudar me encanta aser GUIs
  10. Kenix I in Weekend learn lua, Now I dont have time because I want know the error
  11. I do this now I have new errors lol - this is my code .lua GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(200,105,461,417,"",false) GUIEditor_Edit[1] = guiCreateEdit(36,45,76,32,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(118,49,39,27,"ID",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],200,0,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Edit[2] = guiCreateEdit(35,77,128,24,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Label[2] = guiCreateLabel(167,81,23,24,"X",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],200,0,0) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Edit[3] = guiCreateEdit(36,101,129,22,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[3],true) GUIEditor_Label[3] = guiCreateLabel(167,103,23,24,"Y",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[3],200,0,0) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Edit[4] = guiCreateEdit(36,122,129,22,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[4],true) GUIEditor_Label[4] = guiCreateLabel(167,123,23,24,"Z",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[4],200,0,0) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Memo[1] = guiCreateMemo(209,41,240,111,"Porfavor Poner el ID y aprietar obtener Posicion/ Please type ur ID and press Obtener Posicion\n---------------\nGui By Mota",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Button[1] = guiCreateButton(36,148,130,36,"Obtener Posicion",false,GUIEditor_Window[1]) GUIEditor_Label[5] = guiCreateLabel(9,219,443,14,"-----------------------------------------------------------------------------------",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Edit[5] = guiCreateEdit(36,240,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Edit[6] = guiCreateEdit(36,264,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Edit[7] = guiCreateEdit(36,287,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Label[6] = guiCreateLabel(166,241,23,24,"X",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[6],200,0,0) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(166,264,23,24,"Y",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[7],200,0,0) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(166,291,23,24,"Z",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[8],200,0,0) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(35,311,130,36,"Obtener Nueva Posicion",false,GUIEditor_Window[1]) GUIEditor_Memo[2] = guiCreateMemo(214,240,230,111,"aqui poner la nueva posicion X, Y y Z/ here put the new positions X, Y, Z\n---------------\nGui By Mota",false,GUIEditor_Window[1]) GUIEditor_Label[9] = guiCreateLabel(466,104,5,5,"",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(357,365,95,43,"Crear Gate or Elevator",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(261,367,95,39,"Cancel",false,GUIEditor_Window[1]) local me = getLocalPlayer(); guiSetVisible(GUIEditor_Window[1], false) showCursor(false) addCommandHandler("gpanel", function () guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) addEventHandler( 'onClientGUIClick', root, function( btn ) if btn ~= 'left' then return false; end; if source == GUIEditor_Button[1] then local x, y, z = getElementPosition( me ); guiSetText( GUIEditor_Edit[2], x ); guiSetText( GUIEditor_Edit[3], y ); guiSetText( GUIEditor_Edit[4], z ); elseif source == GUIEditor_Button[2] then local x, y, z = getElementPosition( me ); guiSetText( GUIEditor_Edit[5], x ); guiSetText( GUIEditor_Edit[6], y ); guiSetText( GUIEditor_Edit[7], z ); elseif ( source == GUIEditor_Button[4] ) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end end ) local GUIGates_Gate1 = createObject ( tonumber ( guiGetText ( GUIEditor_Edit[1] ) ), tonumber ( guiGetText ( GUIEditor_Edit[2] ) ), tonumber ( guiGetText ( GUIEditor_Edit[3] ) ), tonumber ( guiGetText ( GUIEditor_Edit[4] ) ) ); function creatingTheGate() moveObject(GUIGates_Gate,tonumber ( guiGetText ( GUIEditor_Edit[1] ) ), tonumber ( guiGetText ( GUIEditor_Edit[5] ) ), tonumber ( guiGetText ( GUIEditor_Edit[6] ) ), tonumber ( guiGetText ( GUIEditor_Edit[7] ) ) end end ) addEventHandler("onClientGUIClick", GUIEditor_Button[3], creatingTheGate ) in console error: [2012-03-29 09:42:37] Starting GUITest [2012-03-29 09:42:37] SCRIPT ERROR: GUITest\nice.lua:90: ')' expected (to close '(' at line 88) near 'end' [2012-03-29 09:42:37] WARNING: Loading script failed: GUITest\nice.lua:90: ')' expected (to close '(' at line 88) near 'end' [2012-03-29 09:42:37] GUITest restarted successfully
  12. I have a errors : [2012-03-29 09:33:42] Starting GUITest [2012-03-29 09:33:42] SCRIPT ERROR: GUITest\nice.lua:83: ')' expected (to close '(' at line 64) near 'function' [2012-03-29 09:33:42] WARNING: Loading script failed: GUITest\nice.lua:83: ')' expected (to close '(' at line 64) near 'function' [2012-03-29 09:33:42] GUITest restarted successfully
  13. xDD -.- xDxDxDxDxDxDxD Ok, lol now this is my code what is bad ? the .lua GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(200,105,461,417,"",false) GUIEditor_Edit[1] = guiCreateEdit(36,45,76,32,"",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(118,49,39,27,"ID",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[1],200,0,0) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Edit[2] = guiCreateEdit(35,77,128,24,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Label[2] = guiCreateLabel(167,81,23,24,"X",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[2],200,0,0) guiSetFont(GUIEditor_Label[2],"default-bold-small") GUIEditor_Edit[3] = guiCreateEdit(36,101,129,22,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[3],true) GUIEditor_Label[3] = guiCreateLabel(167,103,23,24,"Y",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[3],200,0,0) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Edit[4] = guiCreateEdit(36,122,129,22,"",false,GUIEditor_Window[1]) guiEditSetReadOnly(GUIEditor_Edit[4],true) GUIEditor_Label[4] = guiCreateLabel(167,123,23,24,"Z",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[4],200,0,0) guiSetFont(GUIEditor_Label[4],"default-bold-small") GUIEditor_Memo[1] = guiCreateMemo(209,41,240,111,"Porfavor Poner el ID y aprietar obtener Posicion/ Please type ur ID and press Obtener Posicion\n---------------\nGui By Mota",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Button[1] = guiCreateButton(36,148,130,36,"Obtener Posicion",false,GUIEditor_Window[1]) GUIEditor_Label[5] = guiCreateLabel(9,219,443,14,"-----------------------------------------------------------------------------------",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Label[5],"default-bold-small") GUIEditor_Edit[5] = guiCreateEdit(36,240,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Edit[6] = guiCreateEdit(36,264,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Edit[7] = guiCreateEdit(36,287,128,24,"",false,GUIEditor_Window[1]) GUIEditor_Label[6] = guiCreateLabel(166,241,23,24,"X",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[6],200,0,0) guiSetFont(GUIEditor_Label[6],"default-bold-small") GUIEditor_Label[7] = guiCreateLabel(166,264,23,24,"Y",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[7],200,0,0) guiSetFont(GUIEditor_Label[7],"default-bold-small") GUIEditor_Label[8] = guiCreateLabel(166,291,23,24,"Z",false,GUIEditor_Window[1]) guiLabelSetColor(GUIEditor_Label[8],200,0,0) guiSetFont(GUIEditor_Label[8],"default-bold-small") GUIEditor_Button[2] = guiCreateButton(35,311,130,36,"Obtener Nueva Posicion",false,GUIEditor_Window[1]) GUIEditor_Memo[2] = guiCreateMemo(214,240,230,111,"aqui poner la nueva posicion X, Y y Z/ here put the new positions X, Y, Z\n---------------\nGui By Mota",false,GUIEditor_Window[1]) GUIEditor_Label[9] = guiCreateLabel(466,104,5,5,"",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(357,365,95,43,"Crear Gate or Elevator",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(261,367,95,39,"Cancel",false,GUIEditor_Window[1]) local me = getLocalPlayer(); guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end ) addCommandHandler("gpanel", function () guiSetVisible(GUIEditor_Window[1], not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) addEventHandler( 'onClientGUIClick', root, function( btn ) if btn ~= 'left' then return false; end; if source == GUIEditor_Button[1] then local x, y, z = getElementPosition( me ); guiSetText( GUIEditor_Edit[2], x ); guiSetText( GUIEditor_Edit[3], y ); guiSetText( GUIEditor_Edit[4], z ); elseif source == GUIEditor_Button[2] then local x, y, z = getElementPosition( me ); guiSetText( GUIEditor_Edit[5], x ); guiSetText( GUIEditor_Edit[6], y ); guiSetText( GUIEditor_Edit[7], z ); elseif ( source == GUIEditor_Button[4] ) then guiSetVisible(GUIEditor_Window[1], false) showCursor(false) end end function creatingTheGate() local GUIGates_Gate[1] = createObject ( tonumber ( guiGetText ( GUIEditor_Edit[1] ) ), tonumber ( guiGetText ( GUIEditor_Edit[2] ) ), tonumber ( guiGetText ( GUIEditor_Edit[3] ) ), tonumber ( guiGetText ( GUIEditor_Edit[4] ) ) ); moveObject(GUIGates_Gate,tonumber ( guiGetText ( GUIEditor_Edit[1] ) ), tonumber ( guiGetText ( GUIEditor_Edit[5] ) ), tonumber ( guiGetText ( GUIEditor_Edit[6] ) ), tonumber ( guiGetText ( GUIEditor_Edit[7] ) ) end end addEventHandler("onClientGUIClick", GUIEditor_Button[3], creatingTheGate ) the code in console : [2012-03-29 09:25:01] Starting GUITest [2012-03-29 09:25:01] SCRIPT ERROR: GUITest\nice.lua:54: '' expected near 'end' [2012-03-29 09:25:01] WARNING: Loading script failed: GUITest\nice.lua:54: '' expected near 'end' [2012-03-29 09:25:01] GUITest restarted successfully please help me
  14. Soren cual es el nombre del server ?
  15. :c ¿? u can give me a example ? please
  16. sip y q se pudiera pagar no por banco :c
  17. :c me encantaria un hosting gratis :c
  18. yeah man I use this but Idk how put in CreateObject please help me
  19. seep :c , deberian existir hostings gratis
  20. sorry for the double post but please help me about how I can set the ID
×
×
  • Create New...