[Ajuda] Urgente
#1

pawn Код:
GetVehicleModel(vehicleid) == 432
Tem como colocar mais de um modelo de veiculo? eu tentei com 432, 431 mais da warning.
Reply
#2

PHP код:
new hehe_smir GetVehicleModel carid ) ;
if ( 
hehe_smir == || hehe_smir == 
Reply
#3

pawn Код:
new vehicleid = GetPlayerVehicleID(vehicleid);
    new hehe_smir = GetVehicleModel(vehicleid);
    if(IsPlayerInAnyVehicle(playerid || hehe_smir == 515 || hehe_smir == 514))
    {
        if(newkeys == KEY_DOWN)
        {
            PlayerPlaySound(playerid, 1147, 0, 0, 0);
        }
    }
fiz deste modo mais nao buzinou.

515 = RoadTrain 514 Tanker
Reply
#4

NIinguem?
Reply
#5

pawn Код:
if ( GetVehicleModel(vehicleid) == 432 || GetVehicleModel(vehicleid) == 433 || GetVehicleModel(vehicleid) == 434 ){
    SendClientMessage(playerid, -1, #);
    return true;
}
Reply
#6

A porra do veiculo nгo buzina.

pawn Код:
new vehicleid = GetVehicleModel(vehicleid);
    if(IsPlayerInAnyVehicle(playerid || GetVehicleModel(vehicleid) == 515 || GetVehicleModel(vehicleid) == 514))
    {
        if(newkeys == KEY_DOWN)
        {
            PlayerPlaySound(playerid, 1147, 0, 0, 0);
        }
    }
Reply
#7

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
    if ( newkeys == KEY_DOWN && IsPlayerInAnyVehicle(playerid) ) {
        PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
    }
    return true;
}
Caso queira especificar os veнculos.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
    if ( newkeys == KEY_DOWN && GetPlayerVehicleID(playerid) == 515 || GetPlayerVehicleID(playerid) == 514 ) {
        PlayerPlaySound(playerid, 1147, 0, 0, 0);
    }
    return true;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)