08.09.2013, 03:11
Se for ID dos veнculos no GM:
Se for ID dos modelos dos Veнculos:
pawn Код:
if (GetPlayerVehicleID(playerid) == 403
|| GetPlayerVehicleID(playerid) == 514
|| GetPlayerVehicleID(playerid) == 515)
{
//Se estiver dentro do veнculo ......
}
pawn Код:
if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 403
|| GetVehicleModel(GetPlayerVehicleID(playerid)) == 514
|| GetVehicleModel(GetPlayerVehicleID(playerid)) == 515)
{
//Se estiver dentro do veнculo ......
}