yesyesok
Members-
Posts
82 -
Joined
-
Last visited
Everything posted by yesyesok
-
not working, now there is no debug but it also not killing me.
-
debug : bad argument @ 'getelenenttype' expected at argument 1 got nil
-
I just used used jr10's script server side and it's not working.
-
I Don't want a command for that it should work when the resource that, the reason i used addeventhandler
-
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
-
thanks to set a particular vehicle should i do it like this ? vehicle =
-
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.
-
So you mean if i change the dimenstion of other players, it won't effect the gamemode?
-
Thanks I've one question it won't effect the race gamemode right? Player will still be able to view checkpoints and complete races
-
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?
-
Can you post an example pls ?
-
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.
-
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.
-
local x2, y2, z2 = getElementPosition(kolczatka) kCol [ player ] = createColCuboid ( x2, y2, z2, 3) Can you post an example on how to do that?
-
anubhavi admi
-
addEventHandler("onClientPlayerDamage", root, function (_, weapon) if weapon == 37 then cancelEvent() end end ) This will only cancel damage from fire.
-
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.
