[code]function Spawnmp7()
local mp7pos;
if( game.GetMap() == "rp_c18_v1" ) then
mp7pos = Vector( 1297, 1038, 556 );
end
local mp7 = TS.CreateItemProp( "storagemp7", mp7pos );
mp7:SetMoveType(MOVETYPE_NONE)
end
timer.Simple( 3, Spawnmp7 );[/code]
I know how to set the Vector, but how do I set the angle?
[QUOTE=Zcom;19211251][lua] ent:SetAngles( Angle( 0, 90, 0 ) ); [/lua]
Like that.[/QUOTE]
That doesn't help me at all.
...That's how you set an entity's angles. What else could you need?
[QUOTE=Entoros;19370559]...That's how you set an entity's angles. What else could you need?[/QUOTE]
How do I add it into what I posted earlier?
[QUOTE=SeeDee;19370631]How do I add it into what I posted earlier?[/QUOTE]
You didnt write the code in the first post did you?
[QUOTE=*Fish*;19372637]You didnt write the code in the first post did you?[/QUOTE]
Yes, I did. I just have no clue how to do angles.
[QUOTE=SeeDee;19372817]Yes, I did. I just have no clue how to do angles.[/QUOTE]
The same way you added position, except using the functions provided in the above posts.
Sorry, you need to Log In to post a reply to this thread.