Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. I've tested this: GUIEditor_Button = {} GUIEditor_Edit = {} rotation = 0 addEvent("onVisibleButtons", true) addEventHandler("onVisibleButtons", getLocalPlayer(), function() GUIEditor_Button[1] = guiCreateButton(0.3688,0.84,0.0625,0.055,"<",true) GUIEditor_Button[2] = guiCreateButton(0.5013,0.84,0.0625,0.055,">",true) GUIEditor_Button[3] = guiCreateButton(0.4013,0.9067,0.1287,0.065,"Empezar a Jugar",true) GUIEditor_Edit[1] = guiCreateEdit(0.4412,0.8367,0.05,0.0567,"0",true) guiEditSetReadOnly(GUIEditor_Edit[1],true) addEventHandler("onClientRender",root, texto) showCursor(true) bindKey("space", "down", theR) ped = createPed( 0, 756.03051757813, -1239.4184570313, 13.552116394043 ) end) function texto() ls = dxDrawText("Los Santos",433.0,539.0,641.0,585.0,tocolor(255,255,255,255),3.0,"default","left","top",false,false,true) end numero = 0 addEventHandler("onClientGUIClick", root,function(button,state) if source == GUIEditor_Button[3] then local elements ={GUIEditor_Button[1],GUIEditor_Button[2],GUIEditor_Button[3],GUIEditor_Edit[1]} for i,v in ipairs(elements)do destroyElement(v) end showCursor(false) setCameraTarget( localPlayer ) destroyElement(ped) unbindKey("space") removeEventHandler("onClientRender", root, texto) removeEventHandler("onClientRender", root, theR) local table = {{731.21276855469, -1276.6033935547, 17.6484375}} setElementPosition( localPlayer, 731.21276855469, -1276.6033935547, 17.6484375 ) setPedSkin(localPlayer,numero) setElementFrozen(localPlayer,false) elseif source == GUIEditor_Button[1] then if (button == "left" and state == "up") then if(numero == 1) then return end numero = numero - 1 setElementModel(ped,numero) end guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") elseif source == GUIEditor_Button[2] then if (button == "left" and state == "up") then if (numero == 288) then return end numero = numero + 1 setElementModel(ped,numero) end guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") end end,true) addEventHandler("onClientRender", root,function( ) if isElement ( ped ) then rotation = rotation + 1 if ( rotation > 359 ) then rotation = 0 end setPedRotation ( ped, rotation ) end end) function theR() addEventHandler("onClientRender", root, lvT) end function lvT() removeEventHandler("onClientRender", root, texto) lv = dxDrawText("Las Venturas",433.0,539.0,641.0,585.0,tocolor(255,255,255,255),3.0,"default","left","top",false,false,true) if (lv) then sf = dxDrawText("San Fierro",433.0,539.0,641.0,585.0,tocolor(255,255,255,255),3.0,"default","left","top",false,false,true) end end addEventHandler("onPlayerLogin",root,function() triggerClientEvent(source, "onVisibleButtons", root) setCameraMatrix(source,755.94171142578, -1258.78125, 18.399745941162, 756.03051757813, -1239.4184570313, 13.552116394043) end)
  2. A: lol : http://www.truthorfiction.com/rumors/m/msm.htm Q: What's that?
  3. tested: rotation = 0 GUIEditor_Button = {} GUIEditor_Edit = {} addEvent("onVisibleButtons", true) addEventHandler("onVisibleButtons",root,function() GUIEditor_Button[1] = guiCreateButton(0.3688,0.84,0.0625,0.055,"<",true) GUIEditor_Button[2] = guiCreateButton(0.5013,0.84,0.0625,0.055,">",true) GUIEditor_Button[3] = guiCreateButton(0.4013,0.9067,0.1287,0.065,"Empezar a Jugar",true) GUIEditor_Edit[1] = guiCreateEdit(0.4412,0.8367,0.05,0.0567,"",true) guiEditSetReadOnly(GUIEditor_Edit[1],true) showCursor(true) addEventHandler("onClientRender",root,dx) ped = createPed( 0, 756.03051757813, -1239.4184570313, 13.552116394043 ) end) function dx() dxDrawText("Los Santos",433.0,539.0,641.0,585.0,tocolor(255,255,255,255),3.0,"default","left","top",false,false,true) end numero = 0 addEventHandler("onClientGUIClick", root,function() if source == GUIEditor_Button[3] then elements = {GUIEditor_Button[1],GUIEditor_Button[2],GUIEditor_Button[3],GUIEditor_Edit[1]} for i,v in ipairs(elements)do guiSetVisible(v,false) end showCursor(false) setCameraTarget(localPlayer) destroyElement(ped) local table = {{731.21276855469, -1276.6033935547, 17.6484375}} setElementPosition( localPlayer, 731.21276855469, -1276.6033935547, 17.6484375 ) removeEventHandler("onClientRender",root,dx) elseif source == GUIEditor_Button[1] then guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") if (button == "left" and state == "up") then if(numero == 1) then return end numero = numero - 1 setElementModel(ped,numero) end elseif source == GUIEditor_Button[2] then guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") if (button == "left" and state == "up") then if (numero == 288) then return end numero = numero + 1 setElementModel(ped,numero) end end end,true) addEventHandler("onClientRender", root,function() if isElement ( ped ) then rotation = rotation + 1 if ( rotation > 359 ) then rotation = 0 end setPedRotation ( ped, rotation ) end end) addEventHandler("onPlayerLogin",root,function() triggerClientEvent(source, "onVisibleButtons", root) setCameraMatrix(source,755.94171142578, -1258.78125, 18.399745941162, 756.03051757813, -1239.4184570313, 13.552116394043) end)
  4. A: Not that much, but I do like making the spam funny Q: What type of Spam do you like?
  5. https://community.multitheftauto.com/index.php?p= ... ls&id=3786 Don't really like it anymore
  6. A: I don't think so Q: Where do you remember him from?
  7. try this: rotation = 0 addEvent("onVisibleButtons", true) addEventHandler("onVisibleButtons",root,function() GUIEditor_Button = {} GUIEditor_Edit = {} GUIEditor_Button[1] = guiCreateButton(0.3688,0.84,0.0625,0.055,"<",true) GUIEditor_Button[2] = guiCreateButton(0.5013,0.84,0.0625,0.055,">",true) GUIEditor_Button[3] = guiCreateButton(0.4013,0.9067,0.1287,0.065,"Empezar a Jugar",true) GUIEditor_Edit[1] = guiCreateEdit(0.4412,0.8367,0.05,0.0567,"",true) guiEditSetReadOnly(GUIEditor_Edit[1],true) showCursor(true) addEventHandler("onClientRender",root,dx) ped = createPed( 0, 756.03051757813, -1239.4184570313, 13.552116394043 ) ---Here the text( doesnt appear ) end) function dx() dxDrawText("Los Santos",433.0,539.0,641.0,585.0,tocolor(255,255,255,255),3.0,"default","left","top",false,false,true) end addEventHandler("onClientGUIClick", root,function() if source == GUIEditor_Button[3] then elements = {GUIEditor_Button[1],GUIEditor_Button[2],GUIEditor_Button[3],GUIEditor_Edit[1]} for i,v in ipairs(elements)do guiSetVisible(v,false) end showCursor(false) setCameraTarget() destroyElement(ped) local table = {{731.21276855469, -1276.6033935547, 17.6484375}} setElementPosition( localPlayer, 731.21276855469, -1276.6033935547, 17.6484375 ) removeEventHandler("onClientRender",root,dx) elseif source == GUIEditor_Button[1] then guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") elseif source == GUIEditor_Button[2] then guiSetText(GUIEditor_Edit[1], " "..getElementModel(ped).."") end end,false) addEventHandler("onClientRender", root,function() if isElement ( ped ) then rotation = rotation + 1 if ( rotation > 359 ) then rotation = 0 end setPedRotation ( ped, rotation ) end end) numero = 0 addEventHandler("onClientGUIClick", GUIEditor_Button[1],function(button,state) if (button == "left" and state == "up") then if(numero == 1) then return end numero = numero - 1 setElementModel(ped,numero) end end,false) addEventHandler("onClientGUIClick", GUIEditor_Button[2],function(button,state) if (button == "left" and state == "up") then if (numero == 288) then return end numero = numero + 1 setElementModel(ped,numero) end end,false) addEventHandler("onPlayerLogin",root,function() triggerClientEvent(source, "onVisibleButtons", root) setCameraMatrix(source,755.94171142578, -1258.78125, 18.399745941162, 756.03051757813, -1239.4184570313, 13.552116394043) end)
  8. By accident I uploaded another one: https://community.multitheftauto.com/index.php?p= ... ls&id=4735
  9. Well, he did made this in 2009, I'll send him over here
  10. WAIT, WHO'S SCRIPT IS THIS? https://community.multitheftauto.com/index.php?p= ... ls&id=4729
  11. try this: addEventHandler("onZombieSpawn",root,function() posX= 2243.9108886719 posY=90.34447479248 posZ=26.3359375 setElementPosition(source,posX,posY,posZ) setElementRotation(source,0,0,300.18414306641) end)
  12. oh, well it's still nice
  13. Ya it can work, but do you want all the zombies spawned there out of the whole world?
  14. Here: https://wiki.multitheftauto.com/wiki/Slo ... _Functions
  15. it's ok, I know what your talking about
  16. What resource are you using for this?
  17. it will lag the server, slow your computer and might even give the server lack of details about the player, I suggest using MySQL or the built in Account Data.
  18. Nice, I like your server BTW Did you really scripted and map all of that?
  19. StanleySather, on your resource page for this login script, change the LoginForm to loginform, so no one gets confused or needs help BTW, nice script
  20. Jaysds1

    timer

    like this: addEventHandler("onClientRender",root,function() tick = getTickCount() outputChatBox("Tick Count"..tick..".") end) lol, everytime a frame goes by it outputs the tick
  21. What's wrong with people taking other people scripts and using it for there reason, just ask the owner of the script if you can do ... with the script, and maybe they might even help with your script... CAN A MOD LOCK THIS!
×
×
  • Create New...