13.05.2014, 17:24
To my knowledge, CreatePlayerObject (and CreateObject too) cannot be called inside AttachCameraToPlayerObject.
This should work just fine:
Why? I don't know. It works like that for some reason.
This should work just fine:
Код:
new obj = CreatePlayerObject(...); AttachCameraToPlayerObject(playerid, obj);