[Pedido] Anti Joy
#5

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerCameraMode(issuerid) != 53 || !IsPlayerConnected(issuerid)) return;
   
    switch(weaponid)
    {
        case 24, 25: // coloque a ID das armas que queira proibir...
        {
            new targetplayer = GetPlayerTargetPlayer(issuerid);
           
            if(targetplayer == INVALID_PLAYER_ID)
            {
                Ban(issuerid);
            }
        }
    }
}
Tente...
Reply


Messages In This Thread
[Pedido] Anti Joy - by Sampizito - 06.04.2012, 21:57
Re: [Pedido] Anti Joy - by Delete_ - 06.04.2012, 22:09
Re: [Pedido] Anti Joy - by Skream - 06.04.2012, 22:30
Re: [Pedido] Anti Joy - by paulor - 06.04.2012, 22:50
Re: [Pedido] Anti Joy - by Skream - 06.04.2012, 23:04
Respuesta: [Pedido] Anti Joy - by Luciano* - 07.04.2012, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)