Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. JR10

    Help in Logo!

    My code? -__- WTF is: addEventHandler(source,"blurFade",source) WTF is that, and you say my code.
  2. JR10

    Help any one !

    function givePlayerWeapons ( thePlayer, commandName ) giveWeapon ( thePlayer, 2, 200 ) setPedWeaponSlot ( thePlayer, math.random ( 2, 200) ) end addCommandHandler ( "giveweapons", givePlayerWeapons ) function resourceStart () setGlitchEnabled ( "quickreload", true ) setGlitchEnabled ( "fastmove", true ) setGlitchEnabled ( "fastfire", true ) setGlitchEnabled ( "crouchbug", true ) end addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart )
  3. guiCreateStaticImage ? For F2: bindKey ( "F2" , "down" , function() guiSetVisible ( shopWindow , not guiGetVisible ( shopWindow ) ) showCursor ( guiGetVisible ( shopWindow ) ) end )
  4. What you wrote above, is correct. You can specify the rotation, after the position.
  5. I commented it because, it's not correct. doorid is not defined, in the posZ argument, "not sure about rotation", so... Do you expect the script, to find the doorID itself? Specify it, and the x,y,z
  6. JR10

    Help in Logo!

    I'm talking about, when fading ends, start showing the GUI.
  7. Of course you can edit it. You welcome.
  8. JR10

    Help in Logo!

    You can't do that, you will have to make another addEventHandler. When you are done fading, trigger an event which will show the GUI, try something yourself.
  9. JR10

    Downloading

    Well, basically, because SAMP Sux, There is no GUIs in SAMP, just that stupid select box, or what ever it's called. And there is no shaders, dx, images, and the list goes on and on.
  10. local marker = createMarker ( 0, 0, 2, "cylinder", 1.5, 255, 255, 0, 170 ) local blip = createBlip ( 0, 0, 7, 33, 2, 255, 15, 75, 255, 0, 99999.0, getRootElement()) local ped = createPed( 29, 4, 4, 7 ) --local door = createObject(doorid, x, y, z not sure about rotation) addEventHandler("onMarkerHit",marker, function (hitElement, matchingDim) if getElementType ( hitElement ) ~= "player" then return end if isPedInVehicle(hitElement) then return end if not matchingDim then return end local vehicle = createVehicle(411, 2, 2, 14) warpPedIntoVehicle(hitElement, vehicle) setTimer (moveObject , 3000 , 1 , door, x, y ,z) end) EDIT: don't double post, edit your post instead. EDIT: where is doorid defined? And createObject is fucked up, you are not commenting it.
  11. JR10

    Help in Logo!

    That's because you are attaching both onPlayerJoin.
  12. JR10

    Downloading

    Lol? Basically you are suggesting to cancel downloads? Funny, downloads let you download the images, GUIs, shaders, bla bla. Without the download, players won't be able to see your images, GUIs, etc...
  13. Well, createBlip arguments are wrong, it's the argument with the name =. local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) local blip = createBlip ( x, y, z, 33, 2, 255, 15, 75, 255, 0, 99999.0, getRootElement() local pname = getPlayerFromName("x-Racer") EDIT: Sorry, didn't see the other topic.
  14. Stolen: https://community.multitheftauto.com/index.php?p= ... ls&id=2822 Org: https://community.multitheftauto.com/index.php?p= ... ls&id=1075 Someone ban this fool, please. Not the first time he steal a resource. EDIT: car mod: https://community.multitheftauto.com/index.php?p= ... ls&id=2829
  15. local marker = createMarker ( 0 , 0 , 0 ) addEventHandler ( "onMarkerHit" , marker , function ( hEement ) if getElementType ( hElement ) ~= "player" then return end outputChatBox ( getPlayerName ( hElement ) .. " is the winner!" , root , 255 , 0 , 0 ) end)
  16. tiesjan, you will find the wiki useful: https://wiki.multitheftauto.com/wiki/Main_Page
  17. You will need scripting knowledge to do that, no one will script that for you for free. You use variables to store something like a marker: local marker = createMarker local blip = createBlip local ped = createPed local triplesnake = getPlayerFromName("triplesnake")
  18. They can, you can't. They can use your ip, www.whatismyipaddress.com, to join. And you must open ports, so they can see it in the browser, check the wiki for more info.
  19. local index = 1 addEventHandler("onClientRender",root, function() --"imagename" .. index ... "png") index = index + 1 if index > 32 then index = 1 end end) ??
×
×
  • Create New...