sscanf u and isplayerconnected
#1

hi,

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

Thanks
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)