16.07.2010, 19:47
Hello, I'm new here =)
I've got a problem with this fuction, I'm trying to attach some objects to a NPC which is close to the objects I made.
am I or the fuction doesn't work with the NPCs? beacause when I change the playerid to an another one of a player, it works fine....
And yes, I'm sure the bot's id is that one, because I've putted the NPC into a vehicle before.
I don't think I've made an error...
does anyone know how to make it work?
I've got a problem with this fuction, I'm trying to attach some objects to a NPC which is close to the objects I made.
am I or the fuction doesn't work with the NPCs? beacause when I change the playerid to an another one of a player, it works fine....
Код:
AttachObjectToPlayer(carroobj_id[21], NPC_carro[1], 0.0, 4.0, 4.0, 0.0, 0.0, 0.0);
I don't think I've made an error...
does anyone know how to make it work?