getVehicleOccupant ( veículo, assento )
assento: 0 é o do motorista; 1 pra cima são os passageiros.
Você pode usar esta função: isVehicleEmpty
Se quiser fazer a verificação só pros passageiros, modifique o inicio do loop for seat = 0, e substitua 0 com 1.
I actually tried this some time ago!
The fonts sizes didn't match so it looked weird the longer the text in the editbox got.
I have actually downloaded and tried this framework some month ago.
It seems to work pretty good but I usually don't like to use external resources.
I might have to use the default mta gui for now and change it to something more fancy looking later.
I have updated the cam2rt resource. A new class cam2RTImage lets you get the render target and draw things as an image. Also remember that the effects have range of 60 units (you might change that - line 12, 13 in the class files).
If you change field of view to values above 100 degrees - things start to glitch (especially in vehicles). But for ped - up to 170 degrees seem to look bearable).
To get standard (70 degree ) field of view - after setting a ridiculously high value - you can use this simple shader:
https://www.dropbox.com/s/ih8hrkdgkcukg ... v.zip?dl=0