Help plz +REP
#1

Hello

I want to use AttachObjectToObject for my small project but

I want to know how to attach this object with weapon objects? i mean grenade and smoke grenade object? also he move with weapon object?
Reply
#2

What exactly are you trying to do? Attach a weapon to a player?
Reply
#3

No i want to attach an object with weapon object like

player holding grenade...

i want to attach my object with grenade object
Reply
#4

I think that doesn't need AttachObjectToObject. be cause the grenade which the player is holding is a weapon , not an object.

Use SetPlayerAttachedObject, and put the bone ID 6 , Right hand, which the player uses usually the weapon to hold.

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Reply
#5

Quote:
Originally Posted by Sawalha
Посмотреть сообщение
grenade which the player is holding is a weapon , not an object.
Totally worth then!! i wanted to attach small object with weapon object(grenade) to get perfect object position when he touch surface(ground [z] pos) any way its possible?
Reply
#6

anyone plz?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)