16.05.2013, 00:26
pawn Код:
GetVehicleModel(vehicleid) == 432
GetVehicleModel(vehicleid) == 432
new hehe_smir = GetVehicleModel ( carid ) ;
if ( hehe_smir == 1 || hehe_smir == 2 )
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);
}
}
if ( GetVehicleModel(vehicleid) == 432 || GetVehicleModel(vehicleid) == 433 || GetVehicleModel(vehicleid) == 434 ){
SendClientMessage(playerid, -1, #);
return true;
}
new vehicleid = GetVehicleModel(vehicleid);
if(IsPlayerInAnyVehicle(playerid || GetVehicleModel(vehicleid) == 515 || GetVehicleModel(vehicleid) == 514))
{
if(newkeys == KEY_DOWN)
{
PlayerPlaySound(playerid, 1147, 0, 0, 0);
}
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
if ( newkeys == KEY_DOWN && IsPlayerInAnyVehicle(playerid) ) {
PlayerPlaySound(playerid, 1147, 0.0, 0.0, 0.0);
}
return true;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
if ( newkeys == KEY_DOWN && GetPlayerVehicleID(playerid) == 515 || GetPlayerVehicleID(playerid) == 514 ) {
PlayerPlaySound(playerid, 1147, 0, 0, 0);
}
return true;
}