31.12.2011, 11:06
the gamemodes is warnings
Waring:
help, THx
Код:
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;
}
Код:
D:\Hybrid Teszt szerver\gamemodes\hybrid.pwn(26193) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.


