Quote:
Originally Posted by DRIFT_HUNTER
65535 in decimal whitch is maximum signed integer for 32bit
|
16 bit. Also some callbacks use this value, namely OnPlayerDeath.
Quote:
Originally Posted by Puppy
That doesn't answer my question. Let's say no one is using playerID 0. And when I run a global timer(which I wouldn't but you get the point) to check if player 0 is online every 5 minutes...
pawn Код:
if(0 == 65535) { // player is offline }
This doesn't make any sense. This is not equal(0 doesn't equal 65535 that'd be crazy!), so how does the compiler actually process this information?
|
Don't confuse it with IsPlayerConnected, because for the most part they can't be used interchangeably.