24.03.2014, 03:29
I told you everything you needed to solve your problem, even gave you an explanation rather than a line of code which would defeat the purpose of learning. You merely need to replace a single variable (playerid) with a macro (INVALID_PLAYER_ID).