Jump to content

adithegman

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by adithegman

  1. ooo thx Castillo you the best
  2. hello! i am trying to make a cmd for the editor mode in race si that when you type /sw it saves your pos and then if yo type /lw it will warp you to the same pos and the same speed but it doesn't work please help me function saveWarp (playerSource) if(playerSource) then vehicle = getPedOccupiedVehicle(playerSource) local curposx, curposy, curposz = getElementPosition(vehicle) local currotx, curroty, currotz = getElementRotation(vehicle) local speedx, speedy, speedz = getElementVelocity(vehicle) outputChatBox("The Warp has been saved!", playerSource) end end addCommandHandler("sw", saveWarp) function loadWarp (playerSource) if(playerSource) then vehicle = getPedOccupiedVehicle(playerSource) setVehicleFrozen(vehicle, true) setElementPosition(vehicle, curposx, curposy, curposz) setElementRotation(vehicle, currotx, curroty, currotz) setTimer(setFreeze, 3000, 1) outputChatBox("The Warp has been loaded!", playerSource) end end addCommandHandler("lw", loadWarp) function setFreeze (playerSource) if(playerSource) then vehicle = getPedOccupiedVehicle(playerSource) setVehicleFrozen(vehicle, false) setElementVelocity(vehicle, speedx, speedy, speedz) end end
  3. adithegman

    Colored Names

    Thx man, you really helped!
  4. adithegman

    Colored Names

    Hey! I have a problem... When the player hits tab it doesn't show the names in colors... For ex it shows #ffffffffadithegman... so how do i make to show te colors? PLS HELP
  5. When i start the script editor the functions arent there.... And after i load some files it doesnt show eather! PLEASE HELP! Is because i placed the folder wrong?
  6. Yea... It happens to me too and i dont know how to fix it! When i start it doesnt show but when i open som .lua files it dowsnt show eather! PLEASE HELP ME!
×
×
  • Create New...