Anti miniguns
#1

the gamemodes is warnings

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(GetPlayerWeapon(killerid) == 38)
    {
        new string[128], player[MAX_PLAYER_NAME];
        GetPlayerName(playerid, player, sizeof(player));

        format(string, sizeof(string), "%s died! Server Banned his attacker (reason: Minigun)", player);
        SendClientMessageToAll(YELLOW, string);
        Ban(killerid);
    }
    return 1;
}
Waring:

Код:
D:\Hybrid Teszt szerver\gamemodes\hybrid.pwn(26193) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
help, THx
Reply


Messages In This Thread
Anti miniguns - by lusta19 - 31.12.2011, 11:06
Re: Anti miniguns - by BlackSA - 31.12.2011, 11:12
Re: Anti miniguns - by James Coral - 31.12.2011, 11:13
Re: Anti miniguns - by LiamM - 31.12.2011, 11:14
Re: Anti miniguns - by Mikkel_Pedersen - 31.12.2011, 11:17
Re: Anti miniguns - by lusta19 - 31.12.2011, 11:22
Re: Anti miniguns - by HyperZ - 31.12.2011, 11:33
Re: Anti miniguns - by James Coral - 31.12.2011, 11:38
Re: Anti miniguns - by lusta19 - 31.12.2011, 11:59
AW: Anti miniguns - by BigETI - 31.12.2011, 12:13

Forum Jump:


Users browsing this thread: 1 Guest(s)