13.10.2014, 23:32
Prueba asн:
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsPlayerAdmin(playerid) == 0)
{
new const len = strlen(text);
for(new i = 0; i < len; i++)
{
text[i] = tolower(text[i]);
}
new string[128];
format(string, sizeof(string), "%s dice: %s", PlayerName(playerid), text);
SendClientMessageToAll(-1, string);
}
else
{
return 1;
}
return 0;
}