Deferences..
#1

What is defferences between INVALID_PLAYER_ID and IsPlayerConnected?

pawn Код:
playerid != INVALID_PLAYER_ID
vs

pawn Код:
IsPlayerConnected(playerid)
Reply
#2

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.
Reply
#3

No shit, I use any of them for the same purpose, so im not sure if they are the same or not, always works.
Reply
#4

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.
Reply
#5

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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)