SA-MP Forums Archive
How can I offline ban Player's ? - 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)
+--- Thread: How can I offline ban Player's ? (/showthread.php?tid=368895)



How can I offline ban Player's ? - fuem1907 - 14.08.2012

Hello , firstly my english not perfect.
How can I offline ban player's ?
I mean I want to use /offlineban Name_Surname
and
This command goes to Character Files and Enter's to Character.ini and changes pBanned=0 to pBanned=1
and Player banned.

How can I do this command ?
I'm not sure but I think my script using padmin for admins.
I'm using ZRP - https://sampforum.blast.hk/showthread.php?tid=350747

Thank you.


Re : How can I offline ban Player's ? - Eony - 14.08.2012

Quote:
Originally Posted by fuem1907
Посмотреть сообщение
Hello , firstly my english not perfect.
How can I offline ban player's ?
I mean I want to use /offlineban Name_Surname
and
This command goes to Character Files and Enter's to Character.ini and changes pBanned=0 to pBanned=1
and Player banned.

How can I do this command ?
I'm not sure but I think my script using padmin for admins.
I'm using ZRP - https://sampforum.blast.hk/showthread.php?tid=350747

Thank you.
You should simply edit the player's data (Depends on what type of database you are using, flatfile or SQL). If your gamemode is ZGaming, then you have a flatfile database running on Dudb. Make a command that edits the status of the player with the dUserSet command.


Re: How can I offline ban Player's ? - CROSS_Hunter - 14.08.2012

-__- dude just open ur console and type ban <player's name> or banip <ip> which u can get from typing players in console no more if you want it offline


Re : Re: How can I offline ban Player's ? - Eony - 14.08.2012

Quote:
Originally Posted by CROSS_Hunter
Посмотреть сообщение
-__- dude just open ur console and type ban <player's name> or banip <ip> which u can get from typing players in console no more if you want it offline
Or just /rcon ban/banip


Re: Re : Re: How can I offline ban Player's ? - CROSS_Hunter - 14.08.2012

Quote:
Originally Posted by Eony
Посмотреть сообщение
Or just /rcon ban/banip
he says offline lol not in game thats why i said use the server console


Re: How can I offline ban Player's ? - Akcent_Voltaj - 14.08.2012

OFF:what do you mean console??


Re: How can I offline ban Player's ? - fuem1907 - 14.08.2012

Guys, I got a /ban cmd. But it's di̇fferent, it's working with Player Id's
I want to change player character files with a cmd.
I'm asking it, It's bullshit , I can't use console for this.
I got 1-2-3-4-5-6 level admins , So I can't give this authority to all admins.
I mean I should make it automatic, It should be easy..
I'm not asking another ways, I'm asking This : How Can I /offlineban


Re: How can I offline ban Player's ? - Cena44 - 15.08.2012

get his IP from your logs

/rcon login (pass)
/rcon ipban (IP)

Mission passed, respect +++


Re: How can I offline ban Player's ? - fuem1907 - 15.08.2012

@Cena44
Look
this is bullshit.
How can I give rcon_pass to low level admins ? Ha?
And
When he restart his modem and he can enter the game.
OMG
Please I'm not asking another ways..


Re: How can I offline ban Player's ? - fuem1907 - 15.08.2012

Thanks, I'm gonna try it.