[QUOTE=VeXan;52491545]Then how do you write them?[/QUOTE]
if you really call yourself a programmer and dont know how to write a vector... im going to assume youre also a masochist.
But because I don't want to stir up anymore drama
[code]
Vector(#, #, #)
[/code]
not so hard?
[QUOTE=Kran;52491550]if you really call yourself a programmer and dont know how to write a vector... im going to assume youre also a masochist.
But because I don't want to stir up anymore drama
[code]
Vector(#, #, #)
[/code]
not so hard?[/QUOTE]
Again, your post did not come across that way at all. Perhaps it had to do with your snarky little smiley faces.
Regardless I'm done arguing, you're speaking out your ass and this is just derailing the thread.
OP when you try to do the entity creation let us know.
Glad OP got his question answered without any confusion.
[QUOTE=Nookyava;52491552]Again, your post did not come across that way at all. Perhaps it had to do with your snarky little smiley faces.
Regardless I'm done arguing, you're speaking out your ass and this is just derailing the thread.
OP when you try to do the entity creation let us know.[/QUOTE]
something tells me you have a nudge on your shoulder...
[QUOTE=Kran;52491550]if you really call yourself a programmer and dont know how to write a vector... im going to assume youre also a masochist.
But because I don't want to stir up anymore drama
[code]
Vector(#, #, #)
[/code]
not so hard?[/QUOTE]
Wait, you're assuming I don't make Garry's Mod addons because I asked you how to write a Vector? You're the one who refused to after multiple posts.
[QUOTE=Kran;52491550]if you really call yourself a programmer and dont know how to write a vector... im going to assume youre also a masochist.
But because I don't want to stir up anymore drama
[code]
Vector(#, #, #)
[/code]
not so hard?[/QUOTE]
You came saying im writing vectors wrong and then write it the exact same way :why:
Do [I]you[/I] call [I]yourself[/I] a programmer?
Ok so now I have this.
[CODE]---------------- Config ----------------
local proppos = Vector( -1416, 142, -131)
---------------- Config ----------------
local function IsThePlyArrested( arrestedply, time, actor)
timer.Create( "playerinbounds"..ply:EntIndex(), 1, time, function()
if !IsValid(arrestedply) then return end
local unarrestprop = ents.Create( "prop_physics" )
if ( !IsValid( unarrestprop ) ) then return end
unarrestprop:SetModel( "models/props_lab/blastdoor001b.mdl" )
unarrestprop:SetPos( proppos )
unarrestprop:SetTrigger( true )
unarrestprop:Spawn()
function ENT:StartTouch(ent)
if ent:IsPlayer() and ent:isArrested() then
local playerPos = ent:GetPos()
ent:unArrest()
timer.Simple(.05,function()
ent:SetPos(playerPos)
end)
end
end
hook.Add("playerArrested", "isplayerarrested" , IsThePlyArrested)[/CODE]
That was autism ^
This is what I NOW have
[CODE]---------------- Config ----------------
local proppos = Vector( -1416, 142, -131)
---------------- Config ----------------
local unarrestprop = ents.Create( "prop_physics" )
if ( !IsValid( unarrestprop ) ) then return end
unarrestprop:SetModel( "models/props_lab/blastdoor001b.mdl" )
unarrestprop:SetPos( proppos )
unarrestprop:SetTrigger( true )
unarrestprop:Spawn()
function ENT:StartTouch(ent)
if ent:IsPlayer() and ent:isArrested() then
local playerPos = ent:GetPos()
ent:unArrest()
timer.Simple(.05,function()
ent:SetPos(playerPos)
end)
end
end
hook.Add("playerArrested", "isplayerarrested" , IsThePlyArrested)[/CODE]
Sorry, you need to Log In to post a reply to this thread.