[Tutorial] Easy /Ban and /Kick
#10

Quote:
Originally Posted by SAMPHacker
View Post
Change This:
pawn Code:
SendClientMessage(playerid,-1,"SERVER: You have been banned from the server.");//Sends the kicked a message
To This:
pawn Code:
SendClientMessage(playerid,-1,"SERVER: You have been kicked from the server.");//Sends the kicked a message
Whats the difference ?. Its same shit.

If is 'playerid' the message will appear only to admin ...

Change 'playerid' to 'targetid' and then the message will appear to banned player.

And also, you could add and a reason for kick / ban .. /ban [id] [reason] ..

Anyway is more a snippet then a tutorial.
Reply


Messages In This Thread
Easy /Ban and /Kick - by [Y]P90 - 25.08.2012, 12:24
Re: Easy /Ban and /Kick - by SAMPHacker - 25.08.2012, 12:34
Respuesta: Easy /Ban and /Kick - by [Y]P90 - 25.08.2012, 12:36
Re: Easy /Ban and /Kick - by budelis - 25.08.2012, 12:38
Re: Easy /Ban and /Kick - by SAMPHacker - 25.08.2012, 12:41
Respuesta: Easy /Ban and /Kick - by [Y]P90 - 25.08.2012, 12:42
Re: Easy /Ban and /Kick - by SAMPHacker - 25.08.2012, 12:44
Re: Easy /Ban and /Kick - by Devilxz97 - 25.08.2012, 14:25
AW: Easy /Ban and /Kick - by [Y]P90 - 25.08.2012, 16:06
Re: Easy /Ban and /Kick - by PawnFox - 27.08.2012, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)