23.05.2012, 12:53
Hello,
I have had this problem for a while now, but never bothered to look into it.
If someone is accountbanned or Character Killed on my server a variable in the playerfile will be set to 1.
At OnPlayerConnected I placed this code for if(CK == 1)
The player does get kicked, and the 'string93' message is being send to everyone, but the other messages aren't.
I have this as SCM:
What could be the problem here?
I have had this problem for a while now, but never bothered to look into it.
If someone is accountbanned or Character Killed on my server a variable in the playerfile will be set to 1.
At OnPlayerConnected I placed this code for if(CK == 1)
Код:
{ new string93[128]; format(string93,sizeof(string93), "%s just got kicked for (possibly) evading a ban!", pname); SendClientMessageToAll(COLOR_RED, string93); SCM(playerid, COLOR_ORANGE, "||==============================================================================||"); SCM(playerid, COLOR_RED, "You are banned from this server or recently had a name change!"); SCM(playerid, COLOR_RED, "If you think this is a mistake or you think you deserve to be unbanned,"); SCM(playerid, COLOR_RED, "Then you can fill in our form to get unbanned at the website www.RealityRp.net."); SCM(playerid, COLOR_RED, "If this ban was a mistake, Then true sorry from our administrator team."); SCM(playerid, COLOR_RED, "Sincerly, Milan_Huizen, Server Owner"); Kick(playerid); }
I have this as SCM:
Код:
#define SCM SendClientMessage