Deferences.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Deferences.. (
/showthread.php?tid=162309)
Deferences.. -
GaGlets(R) - 22.07.2010
What is defferences between INVALID_PLAYER_ID and IsPlayerConnected?
pawn Код:
playerid != INVALID_PLAYER_ID
vs
pawn Код:
IsPlayerConnected(playerid)
Re: Deferences.. -
Яσскѕтая - 22.07.2010
I don't know the exact difference but I know that one checks if the player is connected and one checks if the id is a valid id.
Re: Deferences.. - [L3th4l] - 22.07.2010
No shit, I use any of them for the same purpose, so im not sure if they are the same or not, always works.
Re: Deferences.. -
Яσскѕтая - 22.07.2010
Quote:
Originally Posted by [L3th4l]
No shit, I use any of them for the same purpose, so im not sure if they are the same or not, always works.
|
lol at the no shit. You asked the difference so I told you what I thought
they are not the same though they work the same though.
Re: Deferences.. -
GaGlets(R) - 23.07.2010
Ahm.. ?!
So it means that they have similasr funtion?
I`m asking becaus my servers GM got problem.
I start server with that gammemode, Joining to my server and nothing happens, game just freezees ( not freezes but nothing hapens in futhure )
Onlyest thing in Chat:
Trying to connect...
Connected.Joining the game...
and then it stops to think..