Mind pasting your code here, or atleast lines 74 - 78, because your getting the classic nil value error wich means that ent is returning nil instead of the value you want.
Hi sorry for the delay in replying,
Here is the code (of the stacker stool);
for i=1, Count, 1 do
if (!self:GetSWEP():CheckLimit("props")) then break end
if ( !gamemode.Call( "PlayerSpawnProp", ply, ent:GetModel() ) ) then break end
if i == 1 || (Mode == 2 && Recalc == true) then
StackDir, Height, ThisOffset = self:StackerCalcPos(LastEnt, Mode, Dir, Offset)
end
NewVec = NewVec + StackDir * Height + ThisOffset
NewAng = NewAng + Rot
if !Ent:IsInWorld() then
return false //Who put just break here? Seriously? Giving the player no hint he/she's not supposed to do that?
end
I'm not sure if that's the right code, but that came from the Stacker stool from Steam workshop (converted from .gma to an addon folder).
I just put in the lines from
http://forums.ulyssesmod.net/index.php/topic,923.0.html to make STacker stool compatible with UPPL.
Thank you so much XD!
Walalang023