PDA

View Full Version : sscanf u and isplayerconnected


pelican1
23/04/2017, 01:56 PM
hi,

when i use u for a playerid or a name do i need to check after IsPlayerConnected and INVALID_PLAYER_ID

Thanks

GoldenLion
23/04/2017, 02:51 PM
They will both work because when the player is not connected it will return 65535 (INVALID_PLAYER_ID), but it looks better if you check if the playerid is INVALID_PLAYER_ID.