06.05.2014, 02:50
https://sampwiki.blast.hk/wiki/OnPlayerEnterVehicle
https://sampwiki.blast.hk/wiki/OnDialogResponse
When the player enters the vehicle that is being sold, OnPlayerEnterVehicle will be initiated and then you simply use ShowPlayerDialog();. It can be a little hard to do at first but that's the point in coding xD.
The parameters can be found here: https://sampwiki.blast.hk/wiki/ShowPlayerDialog
https://sampwiki.blast.hk/wiki/OnDialogResponse
When the player enters the vehicle that is being sold, OnPlayerEnterVehicle will be initiated and then you simply use ShowPlayerDialog();. It can be a little hard to do at first but that's the point in coding xD.
The parameters can be found here: https://sampwiki.blast.hk/wiki/ShowPlayerDialog