WOW MESSED MY SCRIPT UP PLEASE HELP
#9

what's with the empty statements...

pawn Код:
public OnPlayerUpdate(playerid)
{
    new weaponid = GetPlayerWeapon(playerid), bool:found;
    switch(weaponid)
    {
        case 10..13: found = true;
        case 16..18: found = true;
        case 35..39: found = true;
        default: found = false;
    }
    if(found)
    {
        new Nam[MAX_PLAYER_NAME], str[128];
        GetPlayerName(playerid,Nam,sizeof(Nam));
        format(str,sizeof(str),"ANTI WEAPON HACK: %s has been banned from server for spawning A Hacked Weapon!",Nam);
        SendClientMessageToAll(0xFF0000FF,str);
        BanEx(playerid,"ANTI WEAPON HACK: Weapon Hack!");
    }
    return 1;
}
Reply


Messages In This Thread
WOW MESSED MY SCRIPT UP PLEASE HELP - by Scripter12345 - 02.04.2012, 01:56
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Reklez - 02.04.2012, 01:57
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Scripter12345 - 02.04.2012, 01:59
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Reklez - 02.04.2012, 02:00
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Scripter12345 - 02.04.2012, 02:01
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Reklez - 02.04.2012, 02:06
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by Scripter12345 - 02.04.2012, 02:08
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by NoZ - 02.04.2012, 02:23
Re: WOW MESSED MY SCRIPT UP PLEASE HELP - by [ABK]Antonio - 02.04.2012, 03:10

Forum Jump:


Users browsing this thread: 2 Guest(s)