27.09.2009, 22:28
oh i posted the wrong code ):
I don't get whats wrong with it..
pawn Код:
public OnPlayerText(playerid, text[])
{
for(new i = 0; i != 126; i++)
{
if(text[i] == "a") text[i] = "4"
if(text[i] == "e") text[i] = "3"
if(text[i] == "l") text[i] = "1"
if(text[i] == "o") text[i] = "0"
if(text[i] == "s") text[i] = "5"
if(text[i] == "t") text[i] = "7"
}
SendPlayerMessageToAll(playerid,text)
return 0;
}

