Disabling the OnPlayerText Through Include?
#5

lol i don't want when i type bitch it would became ****.
want to see my include here you go just come of the codes not the full version

pawn Код:
stock CreateBadword(text[])
{
     for(new i = 0; i < MAX_PLAYERS; i++)
     {
    if(IsPlayerConnected(i))
    {
            new string[1052],pname[MAX_PLAYER_NAME];
            new RandomReplace = random(4);
            GetPlayerName(i, pname, sizeof(pname));
            switch(RandomReplace)
            {
                case 0:
                {
                   format(string,sizeof(string), "%s: "WHITE"[%d] i love to say badword but i'm so stupid and forgetful", pname, i);
                   SendClientMessageToAll(GetPlayerColor(i),string);
                }
                case 1:
                {
                   format(string,sizeof(string), "%s: "WHITE"[%d] i'm so stupid i forget that swearing is not good", pname, i);
                   SendClientMessageToAll(GetPlayerColor(i),string);
                }
                case 2:
                {
                   format(string,sizeof(string), "%s: "WHITE"[%d] i love you guys as i want to say today", pname, i);
                   SendClientMessageToAll(GetPlayerColor(i),string);
                }
                case 3:
                {
                   format(string,sizeof(string), "%s: "WHITE"[%d] today is the good day no agruments between my playmate", pname, i);            
                   SendClientMessageToAll(GetPlayerColor(i),string);
                }
            }
            format(string,sizeof(string), "The word %s has been replace with Antibadword Replacement", text);
            SendClientMessage(i,GetPlayerColor(i),string);
        }
     }
     return 1;
}
Reply


Messages In This Thread
Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 09:05
Re: Disabling the OnPlayerText Through Include? - by Mikkel_Pedersen - 12.01.2012, 09:27
Re: Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 09:33
Re: Disabling the OnPlayerText Through Include? - by [HiC]TheKiller - 12.01.2012, 10:19
Re: Disabling the OnPlayerText Through Include? - by ScriptJorkis - 12.01.2012, 10:22
Re: Disabling the OnPlayerText Through Include? - by Face9000 - 12.01.2012, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)