19.12.2015, 18:20
Could anyone test out for me, custom created objects with your own IDs are not recognized by player's camera looking at the object? I mean this function: EnablePlayerCameraTarget.
Basically, when I create (CreateDynamicObject) and look at it, it says the model of that object. So, here's the function I am using to see what object player is looking at at the current point.
(CUSTOM FUNCTION NEEDED if you are creating object with Incognito's streamer)
So for instance, when I create pistol of model 346 and look at it and run my function above in game, then it says the model properly, otherwise, if it's model created by me and added to custom.IDE it does NOT show it at all.
I need someone to confirm that for me, if it's just my issue or SA-MP's issue. It is very urgent for me.
Thanks a bunch!
Basically, when I create (CreateDynamicObject) and look at it, it says the model of that object. So, here's the function I am using to see what object player is looking at at the current point.
(CUSTOM FUNCTION NEEDED if you are creating object with Incognito's streamer)
pawn Код:
stock GetPlayerCameraObject(playerid)return Streamer_GetItemStreamerID(playerid, STREAMER_TYPE_OBJECT, GetPlayerCameraTargetObject(playerid));
I need someone to confirm that for me, if it's just my issue or SA-MP's issue. It is very urgent for me.
Thanks a bunch!