Not sending messages
#1

PHP код:
stock NameCheck(playerid)
{
    new 
str[128];
    new 
namecheck strfind(GetName(playerid), "_"true);
    if(
namecheck >= 1)
    {
        
SendClientMessage(playeridCOLOR_RED"On United County Roleplay we operate a 'Master Account' system. In order to register an account you will need to join with a nickname(without the '_'), instead of your roleplay name.");
        
format(strsizeof(str), "%s was kicked by the server for joining with a roleplay name.",GetName(playerid));
        
SendAdminsMessage(1COLOR_ORANGEREDstr);
        
KickPlayer(playerid);
    }
    return 
1;

It just kicks the player, not showing the messages sent to the client.
Reply


Messages In This Thread
Not sending messages - by aoky - 19.05.2017, 10:28
Re: Not sending messages - by oMa37 - 19.05.2017, 10:32
Re: Not sending messages - by Logic_ - 19.05.2017, 10:55
Re: Not sending messages - by GTLS - 19.05.2017, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)