/ban cmd - 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 cmd (
/showthread.php?tid=92854)
/ban cmd -
Ironboy500 - 22.08.2009
Well, I have one problem, I read something about it on on internet but cant found it. Can somobody give me cmd for baning players.
Re: /ban cmd -
Correlli - 22.08.2009
Search for it around, or search for any admin filterscript and take it from there.
Re: /ban cmd -
_Vortex - 22.08.2009
Way number one:
/rcon login <PASS>
/rcon ban ID
way number 2:
Download an admin filterscript
Register
Make yourself admin
Login
/ban ID
Re: /ban cmd -
Rick_Jones - 22.08.2009
I think he just wants someone to post a command so he can add it to his gamemode.
I have also been looking for a ban command. And kick, i got a kick command working this morning but someone my adminlevel code and shit got deleted. So i have to redo them, and idk how it got deleted out of the script so.....
But ya, he probly just wants to add it in the gamemode, i dont like filter scripts that much i prefer everything hardcoded right into the GM script.
Rick
Re: /ban cmd -
Doppeyy - 22.08.2009
Код:
public OnPlayerConnect()
{
Ban(playerid);
}
That will work

.
No now serious use the search button and find a admin script and then cut it out off the script.
Tadaaaaaa, youve got yourself an kick/ban command.
/Artix
Re: /ban cmd -
Rick_Jones - 22.08.2009
But then u gotta fix the errors if you have any
But ya thats how u get commands if you cant code them yourself,
Rick