Jump to content

hrtht

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by hrtht

  1. Nobody?
  2. Can somebody help?
  3. Help please!
  4. function repairVehicle ( thePlayer, commandName) if ( isPedInVehicle ( thePlayer ) ) then local theVehicle = getPedOccupiedVehicle ( thePlayer) local succes = fixVehicle ( theVehicle ) if ( succes ) then outputChatBox (" 1 ", thePlayer ) outputChatBox ( "0", thePlayer ) end end end addCommandHandler ( "rv", repairVehicle) Its serverside
  5. How to add a output for saying that you're no longer Ghost?
  6. function ghostmode_on() local playerVehicle = getPedOccupiedVehicle(localPlayer) -- Get the players vehicle if(playerVehicle) then -- Check the return value. for i,v in pairs(getElementsByType("vehicle")) do --LOOP through all vehicles setElementCollidableWith(v, playerVehicle, false) -- Set the collison off with the other vehicles. end outputChatBox("You are now a Ghost") end end addCommandHandler("ghostmode", ghostmode_on) -- Add the /ghostmode Command. What I need to change to get it working with players? I'm new help me man
  7. I know, that's why Im asking another way to do it
  8. How to fix invicible weapon when press for the jetpack?
  9. thanks man !
  10. please
  11. Still doesn't work, the head is stuck to the right, I want it for all not just local player man
  12. IM LOOKING FOR IT
  13. I started days ago on this.. if you can send me the code it would be great man
  14. addEventHandler("onClientRender", getRootElement(), function() for k,player in ipairs(getElementsByType("player")) do if getElementHealth(player) >= 1 then local width, height = guiGetScreenSize () local lx, ly, lz = getWorldFromScreenPosition ( width/2, height/2, 10 ) setPedLookAt(player, lx, ly, lz) end end end)
  15. How to see the other player every time he moves his head? current scripts only leave it looking to one side.
  16. Let me try man, thanks!
  17. How to do this?
  18. ...
×
×
  • Create New...