AttachDynamicObjectToPlayer Not working ? :O
#1

The Dynamic Object are created, but when i use AttachDynamicObjectToPlayer , its not attached..
CODE:

petObject[playerid] = CreateDynamicObject(1603 , pos[0], pos[1], pos[2], 0, 0, 0);
AttachDynamicObjectToPlayer(petObject[playerid],playerid,2.0,0.0, 0.0,0,0,1);
Reply
#2

Quote:
Originally Posted by WildWave
Посмотреть сообщение
The Dynamic Object are created, but when i use AttachDynamicObjectToPlayer , its not attached..
CODE:

petObject[playerid] = CreateDynamicObject(1603 , pos[0], pos[1], pos[2], 0, 0, 0);
AttachDynamicObjectToPlayer(petObject[playerid],playerid,2.0,0.0, 0.0,0,0,1);
I think you should use 'CreatePlayerDynamicObject' for this situation.
Reply
#3

Quote:
Originally Posted by DeathCore
Посмотреть сообщение
I think you should use 'CreatePlayerDynamicObject' for this situation.
Do you even know what you are talking about?

https://github.com/samp-incognito/sa...tives-(Objects)

Код:
AttachDynamicObjectToPlayer(objectid, playerid, Float:offsetx, Float:offsety, Float:offsetz, Float:rx, Float:ry, Float:rz)
This requires kurta999's YSF plugin to be loaded.
Reply
#4

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Do you even know what you are talking about?

https://github.com/samp-incognito/sa...tives-(Objects)

Код:
AttachDynamicObjectToPlayer(objectid, playerid, Float:offsetx, Float:offsety, Float:offsetz, Float:rx, Float:ry, Float:rz)
This requires kurta999's YSF plugin to be loaded.
Found the problem ! , in the server config, the plugin YSF was before streamer and that cause the problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)