07.05.2015, 02:36
Quote:
Is it automatically detected the coordinate of every vehicles to attach the sirens?
I see it's just attaching siren with same coordinate for every vehicles. Код:
AttachObjectToVehicle(objectid, GetPlayerVehicleID(playerid), 0.009999, -0.019999, 0.854999, 0.000000, 0.000000, 0.000000); *Sorry for my bad english. |
pawn Код:
stock IsADetectiveVehicle(vehicleid)
{
switch (GetVehicleModel(vehicleid)) {
case 560, 426, 507, 490: return 1; // If you want more cars to use the siren, just add their IDs here.
}
return 0;
}