28.09.2009, 09:44
1337 tr4nsl470r
Thanks to jeff for noticing what was wrong with it!
pawn Код:
public OnPlayerText(playerid, text[])
{
for(new i; i < strlen(text); 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;
}
Thanks to jeff for noticing what was wrong with it!