[Ajuda] Drive-By
#7

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerInAnyVehicle(killerid))
    {
        switch(GetVehicleModel(GetPlayerVehicleID(killerid)))
        {
            case /*veiculos de guerra*/:
                return false;
            default: {
                SendClientMessage(killerid, -1, "Voce cometeu DB e foi kickado");
                Kick(killerid);
            }
        }
    }
    return true;
}
Pode ser usado reason tambй.
Reply


Messages In This Thread
[Ajuda] Drive-By - by Luciano* - 01.05.2012, 01:55
Re: [Ajuda] Drive-By - by .FuneraL. - 01.05.2012, 01:58
Respuesta: [Ajuda] Drive-By - by Luciano* - 01.05.2012, 02:01
Re: [Ajuda] Drive-By - by Lucas_Alemao - 01.05.2012, 02:03
Re: [Ajuda] Drive-By - by Caio_Freeze - 01.05.2012, 02:05
Respuesta: [Ajuda] Drive-By - by Luciano* - 01.05.2012, 02:07
Re: [Ajuda] Drive-By - by zbt - 01.05.2012, 02:07
Respuesta: Re: [Ajuda] Drive-By - by Luciano* - 01.05.2012, 02:21

Forum Jump:


Users browsing this thread: 2 Guest(s)