Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. Oh... Try changing around the rotY abit intill it goes upward.
  2. I don't think I fully understand what you mean, but if I do, this will fix your problem: moveObject(swatgate1, 3000, 1544.6999511719, -1630.8000488281, 13.10000038147, 0, 0)
  3. Are the resources on? Login as admin and type: /start [resoucrename] or in console type start [resoucrename
  4. What race server do you guys play on?
  5. Xeno

    help plz

    Go into the folder with the resoucre thath as the error in, then go into the meta and remove dot.png
  6. Why dont you have a go at making the markers IN the script instead of a map file?
  7. Move: local parachute = createObject(371, 0, 0, 0) to the top of the script. local parachute = createObject(371, 0, 0, 0) function Break(thePlayer) if (not isPedInVehicle(thePlayer)) then return end local vehicle = getPedOccupiedVehicle(thePlayer) local handling = getVehicleHandling(vehicle) setElementData(vehicle, "slowing", vehicle) setVehicleHandling(vehicle, "brakeDeceleration", 20.08) setVehicleHandling(vehicle, "tractionMultiplier", 1.08) attachElements(parachute, vehicle, 0, 0, 0) setTimer (Breakoff, 8000, 1, vehicle) end addCommandHandler ( "break", Break ) function Breakoff(vehicle) local handling = getElementData(vehicle, "slowing") setVehicleHandling(vehicle, "brakeDeceleration", slowing) setVehicleHandling(vehicle, "tractionMultiplier", slowing) end
  8. addEventHandler("onClientRender",root, function () local x,y = guiGetScreenSize() dxDrawText("Your money: ".. tostring(getPlayerMoney(localPlayer)),150*x,130*y,150*x,150*y,tocolor(255,255,255)) end) I think this works, not sure.
  9. if I used setBlipVisibleDistance it would still show up on F11
  10. Is there a way I can make 1 players blip invisible on F11 and the minimap, if so, please tell me the function name ;3 Thanks,
  11. Xeno

    Question

    I have, but in that resource the player doesn't move with the camera.
  12. Xeno

    Question

    Not sure where to post this, but this section seems appropriate. If I were to have a constant loop of a player warping somewhere, would it lag the server? So say I had a cam(like map editor) resource and I wanted the player to move with the camera when it moved? Thanks, Xeno.
  13. Thats actually awesome mate.
  14. Xeno

    Bad Argument

    I used the function I did before, didn't think really.
  15. Xeno

    Bad Argument

    I'm trying to make it so it sets a certain spawn area for each team, i did try another script too do it, but I thought this would be easier, I guess not... function setTeamOnDeath() local team = getTeamFromName("Clan1") if ( team) then spawnPlayer... ect end addEventHandler("onPlayerWasted", root, setTeamOnDeath)
  16. Xeno

    Bad Argument

    Yeah, this doesnt work, I dont get any errors.
  17. Xeno

    Bad Argument

    That is the checkOnDeath function? I dont understand what you mean..
  18. Xeno

    Bad Argument

    I get a bad arguement on the getElementData... It should work so im confused... Here is the code. function checkOnDeath(player, killer) if (player and getElementType(player) == "player") then local kills = tonumber(getElementData(player,"Zombie kills")) if (not kills) then setElementData(player, "Zombie kills", 0) kills = 0 end if (kills <= 24) then spawnPlayer ( player, 839, -1375, -0.3, 90.0, 0 ) elseif (kills >= 25 and kills <= 49) then elseif (kills >= 35 and kills <=49) then elseif (kills >= 50 and kills <=149) then elseif (kills >= 150 and kills <=349) then elseif (kills >= 350 and kills <=499) then elseif (kills >= 500 and kills <=899) then elseif (kills >= 900 ) then end end end addEventHandler("onPlayerWasted", root, checkOnDeath)
×
×
  • Create New...