How can I block flood ?
#3

it's the code when player exit from the server not the banning code ..

PHP код:
new pName[MAX_PLAYER_NAME];
new 
string[128];
GetPlayerName(playeridpNamesizeof(pName));
    switch(
reason)
    {
        case 
0format(stringsizeof(string), "(Crash) {FFFFFF}.йца одщшъ {FF0000}%s {FFFFFF}(id: %d)"pNameplayerid);
        case 
1format(stringsizeof(string), "(Leaving) {FFFFFF}.йца одщшъ {FF0000}%s {FFFFFF}(id: %d)"pNameplayerid);
        case 
2format(stringsizeof(string), "(Kicked/Banned) {FFFFFF}.йца одщшъ {FF0000}%s {FFFFFF}(id: %d)"pNameplayerid);
    }
    
scmToAll(redstring); 
Reply


Messages In This Thread
How can I block flood ? - by tal_peretz - 22.02.2012, 19:55
Re: How can I block flood ? - by BrandyPenguin - 22.02.2012, 19:56
Re: How can I block flood ? - by tal_peretz - 22.02.2012, 19:58
Re: How can I block flood ? - by [ABK]Antonio - 22.02.2012, 20:03
Re: How can I block flood ? - by BrandyPenguin - 22.02.2012, 20:03
Re: How can I block flood ? - by tal_peretz - 22.02.2012, 20:12
Re: How can I block flood ? - by IceCube! - 22.02.2012, 20:15
Re: How can I block flood ? - by tal_peretz - 22.02.2012, 20:21
Re: How can I block flood ? - by tal_peretz - 22.02.2012, 22:09
Re: How can I block flood ? - by BrandyPenguin - 22.02.2012, 22:32

Forum Jump:


Users browsing this thread: 3 Guest(s)