Well i See RentHeli Command Which take rent 20000 for one day for heli
what is it function i want this cmd give me example plz
Quote from: Finch on Mar 13, 2015, 03:07 PMWell i See RentHeli Command Which take rent 20000 for one day for heli
what is it function i want this cmd give me example plz
Why don't you try ?
Unless you try at least a bit and post it here, I'm not going to help.
Start by using this code
function onPlayerEnterVehicle( player, veh, isPassenger )
{
if (veh.Model == model)
{
//Your code here
}
}
I'm not sure that whether he want that 1 day ( 24 hours ) would be calculated by the basis of time player spent in the heli or someone
will pay that money to heli's owner to take it for rent for 24 hours & now it depends on him ( person who takes heli on rent ) that how much he is going to use the heli .
Show us the effort you made for it .
give me some help then i will be able to create
I think that if you make it, it will not working perfectly..
what u trying to say?
please help me in this solution
Try to give a look into RBAN system, here you'll have all the necessary to calculate the time with some small edits.
Another tip: don't check every time you call onPlayerEnterVehicle the database.
RBAN Link: http://vcmp.liberty-unleashed.co.uk/forum/index.php?topic=1713.msg11506#msg11506