Quote:
Originally Posted by hittt
Under OnPlayerEnterVehicle
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);
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 ) RemovePlayerAttachedObject(playerid,1);
|
that wont work...because you delete it on EXIT in CAR :S...and i already made methog on player enter but i wont when player is on bike or isnt (SetTimer)