Problem with INVALID_PLAYER_ID
#2

INVALID_PLAYER_ID is a number, you must set your variable to INVALID_PLAYER_ID for it to work.

pawn Code:
if ( !IsPlayerConnected( targetid ) )
{
  targetid = INVALID_PLAYER_ID ;
}
Best thing to do would be to change

pawn Code:
if (targetid != INVALID_PLAYER_ID)
to

pawn Code:
if ( !IsPlayerConnected( targetid ) )
Reply


Messages In This Thread
Problem with INVALID_PLAYER_ID - by Gappy - 11.09.2009, 03:48
Re: Problem with INVALID_PLAYER_ID - by Simon - 11.09.2009, 03:57
Re: Problem with INVALID_PLAYER_ID - by Gappy - 11.09.2009, 04:01

Forum Jump:


Users browsing this thread: 1 Guest(s)