Jump to content

yesyesok

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by yesyesok

  1. yesyesok

    need help

    I don't understand
  2. yesyesok

    need help

    not working, now there is no debug but it also not killing me.
  3. yesyesok

    need help

    debug : bad argument @ 'getelenenttype' expected at argument 1 got nil
  4. yesyesok

    need help

    I just used used jr10's script server side and it's not working.
  5. I Don't want a command for that it should work when the resource that, the reason i used addeventhandler
  6. addeventHandler ( "invisible", source, function ( player ) for _, v in pairs ( getElementsByType ( "player" ) ) do if ( v ~= player ) then local vehicle = getPedOccupiedVehicle ( v ) if ( isElement ( vehicle ) ) then setElementAlpha ( vehicle, 0 ) end end end ) not working
  7. yesyesok

    need help

    Thanks i will try it like:)
  8. yesyesok

    need help

    thanks to set a particular vehicle should i do it like this ? vehicle =
  9. yesyesok

    need help

    Hey does any 1 know how do i make players die when they hit a car. Like when a interanus hits a player he should die. please post an small example, i'm new to scripting.
  10. So What's the problem ?
  11. So you mean if i change the dimenstion of other players, it won't effect the gamemode?
  12. Thanks I've one question it won't effect the race gamemode right? Player will still be able to view checkpoints and complete races
  13. addCommandHandler ( "invisible", function ( player ) for _, v in pairs ( getElementsByType ( "player" ) ) do if ( v ~= player ) then local vehicle = getPedOccupiedVehicle ( v ) if ( isElement ( vehicle ) ) then setElementDimension ( vehicle, 1 ) setElementDimension ( player, 1 ) end end end end ) Like this?
  14. Hey in my race gamemode I wanted to make others players vehicle invisible. Like when I'm playing, I should only be.able to see my vehicle not other players vehicle. I will be nice if it's posted with an example.
  15. yesyesok

    Tyres

    Well, you can't rotate a col-cuboid, so a sphere is definitely the best alternative. right, I tried unpredictable's example and it fine for me.
  16. yesyesok

    Tyres

    local x2, y2, z2 = getElementPosition(kolczatka) kCol [ player ] = createColCuboid ( x2, y2, z2, 3) Can you post an example on how to do that?
  17. yesyesok

    help

    But how to change the camera view and making them only move straight.
  18. yesyesok

    help

    Does any one knows how do i make like this? What functions should i use?
  19. addEventHandler("onClientPlayerDamage", root, function (_, weapon) if weapon == 37 then cancelEvent() end end ) This will only cancel damage from fire.
  20. I don't get it, What should i do? I want it like when i punch a player he should die but he shouldn't die with fire.
×
×
  • Create New...