Symbolic Posted March 11 Share Posted March 11 Hello people, does anybody know how to spawn an ACTOR just next to me in ScriptHookRDR? I've been trying but i just could make it with fixed coords, that's what i have. Best regards Vector3 coords = { -2171.0f, 23.0f, 2592.0f }; int actorEnum = 631; Vector2 spawnXY = { coords.x + 2.0f, coords.y + 2.0f }; float spawnZ = coords.z; Actor newActor = OBJECT::CREATE_ACTOR_IN_LAYOUT( OBJECT::GET_AMBIENT_LAYOUT(), "", actorEnum, spawnXY, spawnZ, Vector2(0.0f, 0.0f), 0.0f ); Link to comment https://gtaforums.com/topic/1001196-ped-spawn-rdr1/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now