samp-streamer-plugin
samp-streamer-plugin copied to clipboard
IsPlayerInDynamicCP Returns Incorrect Values
IsPlayerInDynamicCP returns true when the checkpointid specified is invalid / not created.
Use IsValidDynamicCP?
Use IsValidDynamicCP?
Don't be silly. I shouldn't have to use this everywhere.
Make sure that the variable's default value is INVALID_STREAMER_ID
.
Seems more silly to be checking if a player is somewhere that doesn't exist, construct your checks properly.
Regardless, I do agree that if encountering a problem the native should return false.