02.08.2016, 14:11
Guys could anyone take a look at https://github.com/samp-incognito/sa...gin/issues/131 ?
The thing is, when we create dynamic object globally ( .playerid = -1 ) and then use GetIntData for E_STREAMER_PLAYER_ID it returns 0 instead of -1 (or INVALID_PLAYER_ID).
And when we create dynamic object for playerid 0 we can not determinate if that is player object or global.
The thing is, when we create dynamic object globally ( .playerid = -1 ) and then use GetIntData for E_STREAMER_PLAYER_ID it returns 0 instead of -1 (or INVALID_PLAYER_ID).
And when we create dynamic object for playerid 0 we can not determinate if that is player object or global.