Reply With Quote Multi-Quote This Message #1
I need to spawn a rocket in tf2, I know the client(who fired it), position, angle and velocity.
the code I have so far:
PHP Code:
new rocket_entity = CreateEntityByName("tf_projectile_rocket");
DispatchSpawn(rocket_entity);
TeleportEntity(rocket_entity, rocketpos, vectorfloat, NULL_VECTOR);
I need to set the ent data and I have no idea how or what to set for the rocket, and thats what I need help with.
Thanks in advance!