24.07.2013, 19:33
How to attach this object( CreatePlayerObject(playerid, 18645, 0, 0, 5, 0, 0, 0); ) on player?
I don't know how to put object on player using AttachPlayerObjectToPlayer.
this don't work.
I don't know how to put object on player using AttachPlayerObjectToPlayer.
Код:
new helmet[MAX_PLAYERS] helmet[playerid] = CreatePlayerObject(playerid, 18645, 0, 0, 5, 0, 0, 0); AttachPlayerObjectToPlayer( playerid,helmet[playerid], playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);