Posts: 198
Threads: 56
Joined: Aug 2009
Reputation:
0
What is this function for? I mean, I see in some of the game modes the author uses if(IsPlayerConnected(playerid)) in every command...obviously when the player enters the command he is already connected to the server, then?
Posts: 2,628
Threads: 32
Joined: Apr 2007
Reputation:
0
Servers can be hacked, and commands can be executed by third-party-apps, after what I've heard.
Posts: 785
Threads: 22
Joined: Jun 2007
Reputation:
0
That was needed back in SAMP 0.1 (afaik), kicked players still could use commands. It's completely useless to check if player who uses the command is connected. Godfather has that, that's why mostlikely every edit has it too.