03.07.2011, 12:33
That function is perhaps to be used with a variable attached to a Object..
Like:
Try do something like this, or you will have to use: SetPlayerAttachedObject(...);
Like:
pawn Код:
new object1;
object1 = CreateObject(...);
AttachObjectToPlayer( object1 , playerid, 1.5, 0.5, 0, 0, 1.5, 2 ); // The first parameter is Object ID not the object model ID.