24.03.2019, 17:58
Perfect, thank you. Gonna try it later.
EDIT: Works perfectly, thanks again. A question.
What's the difference between:
And
Aren't the same?
First one checks if ID is connected, and second if is valid. (I mean, if an ID is connected, obviously is valid).
What's the difference? Should i use them both?
EDIT: Works perfectly, thanks again. A question.
What's the difference between:
pawn Code:
if(!IsPlayerConnected(targetid))
pawn Code:
if(targetid == INVALID_PLAYER_ID)
First one checks if ID is connected, and second if is valid. (I mean, if an ID is connected, obviously is valid).
What's the difference? Should i use them both?