[AJUDA]Rapidi ( To com duvida nesse negocio de chaves)
#3

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(gTeam[playerid] >= 3)
    {
        if (IsACopCar(vehicleid) && !ispassenger)
        {
            if(PlayerInfo[playerid][pLider]==1||PlayerInfo[playerid][pMembro]==1||PlayerInfo[playerid]            [pMembro]==17||PlayerInfo[playerid][pLider]==17) {}
            else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Roubo de Viatura"); }
        }
        if (IsAnAmbulanceCar(vehicleid) && !ispassenger)
        {
            if(PlayerInfo[playerid][pMembro]==4||PlayerInfo[playerid][pLider]==4) { }
            else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Roubo de Ambulancia"); }
        }
        new string[256];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "* %s Entra no veiculo.", sendername);
        DetectorProx(5.0,playerid,string,ROXO);
    }
    CintoPlayer[playerid] = 0;
    GameTextForPlayer(playerid, "~r~/cinto Caso Contrario ~n~Morrer em Batidas", 3000, 4);
    return 1;
}
se funciono era so ajeita as linhas kkkk
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)