12.01.2012, 10:22
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
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;
}