Use windowed, debug mode and put in
DebugLog "create_particle: " + str(engspawnref) + " " + str(x) + " " + str(y) + " " + str(z)
(just before "end function") and see what you're getting. Track the position of mdl the same way. Use that information to figure out your typo or whatever is causing the problem.
DebugLog "create_particle: " + str(engspawnref) + " " + str(x) + " " + str(y) + " " + str(z)
(just before "end function") and see what you're getting. Track the position of mdl the same way. Use that information to figure out your typo or whatever is causing the problem.