I tried to make a simple NPC wich executes a code if you press E on it.
After I failed with my own code I downloadet this:
It works perfectly,
but I want to make it spawn automaticly on server startup.
And spawn on a PRESET POSITION.
I tried to add
ENT:SetPos(Vector(837, 434, 95))
to the code, or
but it spawns always on my aim position.
I am a LUA beginner, could anyone please help me with my issue ?
Thank you for all your help.
[editline]3rd January 2012[/editline]
Thanks, Gran and Lexi helped me.
solved my problem.