SA-MP Forums Archive
Banned player text - 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: Banned player text (/showthread.php?tid=332448)



Banned player text - SkyWings - 08.04.2012

Hi,

i need the code for banned player text.


Re: Banned player text - Jack.7331 - 08.04.2012

What do you mean?
A ban command, or...?
The format is usually. "Ban: %s has been banned by %s. Reason: %s"


Re: Banned player text - SkyWings - 08.04.2012

Nop, i mean "Your are banned from this server." change for my text or GUI dialog.


Re: Banned player text - Jack.7331 - 08.04.2012

GameText, SendClientMessage, or what...?

Under the ban command:
pawn Код:
SendClientMessage(/* Define the ban id here */, /*Color*/, "You are banned from this server!");



Re: Banned player text - SkyWings - 08.04.2012

Uhm, and when player connect to server, this text will show?


Re: Banned player text - AndreT - 08.04.2012

No.

That will require you to make a custom ban handling system. And no-one is going to write one for you in this topic. But Slice has written a very good one. Click here to have a look.