Target ID and Invalid Player ID
#1

pawn Код:
if( TargetID == INVALID_PLAYER_ID ) return SendClientMessage( playerid, -1, "SERVER: Invalid playerid! Please try again" );
This line is suppose to return an Error that the ID of the player that was typed in is not connected.
Lets say there is only 1 player connected with ID 0, whenever I type /ban 1 [reason] or /kick 1 [reason] or /mute 1 [reason] it would return an error, which is listed up there. However in my case, it ignores it whenever I type it.
Any Idea why?
Reply


Messages In This Thread
Target ID and Invalid Player ID - by HydraX - 13.08.2012, 20:54
Re: Target ID and Invalid Player ID - by Kindred - 13.08.2012, 20:58
Re: Target ID and Invalid Player ID - by SEnergy - 13.08.2012, 21:01
Respuesta: Target ID and Invalid Player ID - by HydraX - 13.08.2012, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)