Symbol blocker
#1

Hello, how can I block symbols like ~ > < § $ ?

Like when I type "/announce This is an ~ example" it should block the announce because it contains a ~
The announce command:

pawn Код:
dcmd_announce(playerid,params[])
{
    if(AccInfo[playerid][Level] >= 3 || IsPlayerAdmin(playerid))
    {
        if(!strlen(params)) return
        SendClientMessage(playerid, LIGHTBLUE2, "Usage: /announce [Text]") &&
        SendClientMessage(playerid, orange, "Function: Will Announce the specified Message in screen");
        SendCommandToAdmins(playerid,"Announce");
        return GameTextForAll(params,4000,3);
    }
    else return ErrorMessages(playerid, 7);
}
Reply


Messages In This Thread
Symbol blocker - by Julian12345 - 10.06.2011, 21:23
Re: Symbol blocker - by SchurmanCQC - 10.06.2011, 21:24
Re: Symbol blocker - by Cyanide - 10.06.2011, 21:37
AW: Symbol blocker - by Julian12345 - 10.06.2011, 22:05
Re: Symbol blocker - by Cyanide - 10.06.2011, 22:09
AW: Symbol blocker - by Julian12345 - 10.06.2011, 22:21
Respuesta: Symbol blocker - by PiCu - 11.06.2011, 01:45

Forum Jump:


Users browsing this thread: 1 Guest(s)