04.10.2011, 12:04
Under OnPlayerEnterVehicle
Under OnPlayerExitVehicle
pawn Код:
if (
vehicleid == 522 ||
vehicleid == 509 ||
vehicleid == 481 ||
vehicleid == 510 ||
vehicleid == 462 ||
vehicleid == 448 ||
vehicleid == 581 ||
vehicleid == 461 ||
vehicleid == 521 ||
vehicleid == 523 ||
vehicleid == 463 ||
vehicleid == 586 ||
vehicleid == 468 ||
vehicleid == 471
) SetPlayerAttachedObject(playerid, 1, 18645, 2, 0.07, 0, 0, 88, 75, 0);
pawn Код:
if (
vehicleid == 522 ||
vehicleid == 509 ||
vehicleid == 481 ||
vehicleid == 510 ||
vehicleid == 462 ||
vehicleid == 448 ||
vehicleid == 581 ||
vehicleid == 461 ||
vehicleid == 521 ||
vehicleid == 523 ||
vehicleid == 463 ||
vehicleid == 586 ||
vehicleid == 468 ||
vehicleid == 471
) RemovePlayerAttachedObject(playerid,1);