[Ajuda] sistema ant dm
#5

se eu entendi e isto .
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
     if(PlayerInfo[playerid][pMembro] > 0) return 1;
     if(PlayerInfo[playerid][pMembro] == 0) {
        GetPlayerName(killerid,kickname,sizeof(kickname));
        format(gstring,sizeof(gstring),"ATENЗГO: %s ID:[%d] cometeu DM em %s e ficara no carandiru por 5                                          minutos !",kickname,killerid,PlayerName(playerid));
        GameTextForPlayer(killerid, "~b~Bem Vindo ao ~n~~r~Carandiru", 5000, 3);
        ResetPlayerWeaponsEx(killerid);
        WantedPoints[killerid] = 0;
        SetPlayerWantedLevel(killerid, 0);
        PlayerInfo[killerid][pJailed] = 2;
        PlayerInfo[killerid][pJailTime] = 5 * 60;
        SetPlayerPos(killerid, 107.2300,1920.6311,18.5208);
        SetPlayerWorldBounds(killerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
        SendClientMessageToAll(0xEB0000FF,gstring);
     }
     return 1;
}
Reply


Messages In This Thread
sistema ant dm - by matanza87 - 11.03.2013, 20:30
Respuesta: sistema ant dm - by matanza87 - 12.03.2013, 17:14
Re: sistema ant dm - by mau.tito - 12.03.2013, 17:21
Respuesta: sistema ant dm - by matanza87 - 12.03.2013, 17:42
Re: sistema ant dm - by mau.tito - 12.03.2013, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)