Invalid ID`s.
#5

They're just constant numbers used to symbolize a player/vehicle/whatever that's NOT possible (impossible) to exist.

The SA:MP server sends these numbers in events like OnPlayerDeath and OnVehicleDeath, which is why they're defined for us. They're are defined because you cannot change what the SA:MP server sends into your Pawn script and because SA:MP developers decided to use those numbers in the SA:MP source.

INVALID_PLAYER_ID is not a replacement for IsPlayerConnected, the usages you know of are pretty much the only usages available.. except for when creating your own "logic".

It looks like you may be over-analysing it, hopefully this clarifies.
Reply


Messages In This Thread
Invalid ID`s. - by GaGlets(R) - 18.12.2010, 00:33
Re: Invalid ID`s. - by admantis - 18.12.2010, 00:36
Re: Invalid ID`s. - by GaGlets(R) - 18.12.2010, 00:45
Re: Invalid ID`s. - by blackwave - 18.12.2010, 00:53
Re: Invalid ID`s. - by Simon - 18.12.2010, 01:04

Forum Jump:


Users browsing this thread: 1 Guest(s)