SA-MP Forums Archive
[HELP]OnPlayerConnect[HELP] - 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: [HELP]OnPlayerConnect[HELP] (/showthread.php?tid=545403)



[HELP]OnPlayerConnect[HELP] - Justinclaveria123 - 08.11.2014

Hello Guys!
i am wondering , how to make if the player is ban then if the player is ban , then sendclientmessage

i know this is not the right section for it . but i need help asap !

i'll give rep for who help


Re: [HELP]OnPlayerConnect[HELP] - DavidBilla - 08.11.2014

Set a timer before the
Код:
ban(playerid);
line
And within the timer do the SendClientMessage thing

EDIT:
Sorry i realised that you wanted it to be Onplayerconnect, so in that case when the player connects you will have to unban him, SendClientMessage and then ban again


Re: [HELP]OnPlayerConnect[HELP] - Glossy42O - 08.11.2014

https://sampwiki.blast.hk/wiki/Ban


Re: [HELP]OnPlayerConnect[HELP] - Justinclaveria123 - 08.11.2014

Quote:
Originally Posted by DavidBilla
Посмотреть сообщение
Set a timer before the
Код:
ban(playerid);
line
And within the timer do the SendClientMessage thing

EDIT:
Sorry i realised that you wanted it to be Onplayerconnect, so in that case when the player connects you will have to unban him, SendClientMessage and then ban again
Quote:
Originally Posted by Stuun
Посмотреть сообщение
Thanks! Problem SOLVED! +REP