21.03.2009, 02:14
if(IsPlayerInAnyVehicle(playerid))
{
new model = GetVehicleModel(GetPlayerVehicleID(playerid));
if(model == 520 || model == tankid || model == rhinoID)
{
//the rest of your code
}
}
{
new model = GetVehicleModel(GetPlayerVehicleID(playerid));
if(model == 520 || model == tankid || model == rhinoID)
{
//the rest of your code
}
}