[Pedido] Sistema de trancar carros Orgs
#1

Estou caзando esse sistema e assim o cara de outra org tenta entrar no carro da outra org ai ele nem chega a abrir a porta e envia uma msg para ele Que ele n e da .....
Reply
#2

Quote:
Originally Posted by The_MentalistRSF
Посмотреть сообщение
Estou caзando esse sistema e assim o cara de outra org tenta entrar no carro da outra org ai ele nem chega a abrir a porta e envia uma msg para ele Que ele n e da .....
Estilo o do bpg ?
Reply
#3

Yes estilo o seu

Estou mudando para assim para poder faze ro cmd /hack da org anonymous
Reply
#4

Quote:
Originally Posted by The_MentalistRSF
Посмотреть сообщение
Yes estilo o seu

Estou mudando para assim para poder faze ro cmd /hack da org anonymous
Me manda o seu:

PHP код:
public OnPlayerEnterVehicle(playeridvehicleidispassenger
Reply
#5

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
 new string[256];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    SendClientMessage(playerid, 0xFFFFFFAA, "BNC ~> Ligue seu veiculo apertando {E31919}CTRL");
    format(string, sizeof(string), "* %s Entra no veiculo.", sendername);
    ProxDetector(5.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    if(motor[playerid] == 1)
    {
    motor[playerid] = 0;
    SendClientMessage(playerid, 0xFFFFFFAA, "BNC ~> Ligue seu veiculo apertando {E31919}CTRL");
    }
    if(Trancado[vehicleid] >= 1)
    {
        if(PlayerInfo[playerid][pAdmin] > 0 || ispassenger) { }
        else
        {
            new Float:x,Float:y,Float:z,Float:a;
            GetPlayerPos(playerid,x,y,z);
            GetPlayerFacingAngle(playerid,a);
            SetPlayerPos(playerid, x, y, z+0.3);
            SetPlayerFacingAngle(playerid, a);
            SendClientMessage(playerid, COLOR_YELLOW, "Veiculo Trancado!");
        }
    }
    return true;
}









pawn Код:
else if(IsASbtCar(newcar))
            {
                if(GetPlayerOrg(playerid) != 40)
                {
                    SendClientMessage(playerid, COR_GRO, "Vocк nгo й do SBT SF, por isso nгo tem a chave desse veнculo !");
                    RemovePlayerFromVehicleEx(playerid);
                }
            }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)