How does INVALID_PLAYER_ID actually work?
#5

Quote:
Originally Posted by Puppy
Посмотреть сообщение
This makes zero sense, is this like a memory address?
nope

Quote:
Originally Posted by Puppy
Or is it basically something to do with bits?
yup

Quote:
Originally Posted by DRIFT_HUNTER
0xFFFF - FFFF is 65535 in decimal whitch is maximum signed integer for 32bit
16*

Quote:
Originally Posted by DRIFT_HUNTER
65535 as player id is invalid for sure and thats why its used as invalid player id
so is -1..

just the max val of 2 byte int (samp got 1000p on the linux server..cool)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)