07.05.2017, 18:17
Would have never thought of anyone to be that experienced with Streamer and to be that happy to help.
Thanks.
That's what I had in my OnPlayerConnect:
Let me play around a bit with the informations you have gave me and I will come up with the solution for sure. Also, have changed right away the function:
I will edit this post.
edit://
The issue was with the OnPlayerConnect where I haven't set the 2D Array value to INVALID but to '-1' instead. Thanks a lot!
Thanks.
That's what I had in my OnPlayerConnect:
pawn Код:
PlayerData[playerid][E_PLAYER_LOOKING_AT_ITEMID] = PlayerData[playerid][E_PLAYER_LOOKING_AT_PLAYERID] = -1;
pawn Код:
new lookingat_objectid = GetPlayerCameraTargetDynObject(playerid);
edit://
The issue was with the OnPlayerConnect where I haven't set the 2D Array value to INVALID but to '-1' instead. Thanks a lot!