[AJUDA] Carro some depois que o outro player entra
#6

Quote:
Originally Posted by TheGarfield
Посмотреть сообщение
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(IsVehicleOccupied(vehicleid)) return SetPlayerHealth(playerid, 0.0);
    SendClientMessage(playerid, 0xAAAAAAAA, ".::[INFO] Este Servidor Possui Sistema Anti-Roubo, Caso Roubar Serб Morto Automaticamente !");
    if(GetVehicleModel(vehicleid) == 562)
    {
        ShowPlayerDialog(playerid,Infoo+16,DIALOG_STYLE_MSGBOX,".:: DrF - Informaзхes do Carro ::.","~>Que tunar seu carro? Digite: /Tunar\n~>Quer reparar e desvirar seu carro? Digite: /Ajuda","\n ","Fechar");
    }
    return 1;
}

stock IsVehicleOccupied(vehicleid)
{
    for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
    return 1;
}
tenta ...
Nгo funciono e ainda aumento 1 warning, ajuda ai
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)