Ban(playerid); - 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: Ban(playerid); (
/showthread.php?tid=87615)
Ban(playerid); -
UsaBoy91 - 21.07.2009
Ban(playerid); don't go in OnPlayerDisconnect, why?
Re: Ban(playerid); -
Grim_ - 21.07.2009
Because the script can't ban a disconnected player.
Re: Ban(playerid); -
[top_Shoter] - 21.07.2009
Quote:
Originally Posted by MJφ
Ban(playerid); don't go in OnPlayerDisconnect, why?
|
LMFAO!
Re: Ban(playerid); -
UsaBoy91 - 21.07.2009
Quote:
Originally Posted by Top_Shoter
Quote:
Originally Posted by MJφ
Ban(playerid); don't go in OnPlayerDisconnect, why?
|
LMFAO!
|
What happend , gay ?
Re: Ban(playerid); -
[top_Shoter] - 21.07.2009
this is just a stupid question. to post about.
Re: Ban(playerid); -
Snickers - 21.07.2009
You ban a player when he disconnects? It's the other way around.
Re: Ban(playerid); -
Grim_ - 21.07.2009
Quote:
Originally Posted by Top_Shoter
this is just a stupid question. to post about.
|
Not really, if he didn't know and wanted to know why, then let him ask. There's no need for people like yourself to be telling others they're "stupid" for posting questions. In my view, people that post things as you are, are the stupid ones.
Re: Ban(playerid); -
Lewwy - 21.07.2009
I actually had a little lol there. I can see what you mean though, but no. If a player disconnects, you can't ban them.
So use the Ban(playerid/giveplayerid) in a command, forcing the OnPlayerDisconnect callback to execute.
Re: Ban(playerid); -
[top_Shoter] - 21.07.2009
no he called my gay so i said it was stupid to ask .
Re: Ban(playerid); -
Lewwy - 21.07.2009
Just forget this, he's got his answer, end of discussion.