A Simple Question, Its not giving the whole string
#1

pawn Code:
if(strfind(PlayerInfo[playerid][pRoleplayName], "_", true) == -1)   //Find '_' In Names
    {
        new string[256];
        format(string, sizeof(string),"[Auto Kick] %s has been kicked from the server [Reason: Invalid Roleplay Name]", GetName(playerid)); //Kick Message
        SendClientMessageToAll(COLOR_RED , string);    //Kick Message
        SendClientMessage(playerid, COLOR_WHITE, "__________________________________________________________________________");
        SendClientMessage(playerid, COLOR_YELLOW, "You have been kicked from the server.");
        SendClientMessage(playerid, COLOR_YELLOW, "Reason: Invalid Name.");
        SendClientMessage(playerid, COLOR_YELLOW, "Your roleplay name is non-roleplay, please use Firstname_LastName format.");
        SendClientMessage(playerid, COLOR_YELLOW, "(Examples: John_Smith, James_Garcia, Vikas_Gothwal)");
        SendClientMessage(playerid, COLOR_WHITE, "__________________________________________________________________________");
        Kick(playerid);
    }
Last 2 lines does not show why
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)