Please help
#1

Hi i am making an Rpg server and i was wondering how i can make bus job or trucker job i want it with checkpoints so lets say i am in a bus and it says i have to drive to ls airport then i drive over there and then there should be a marker you have to drive into and the you get maybe 50-100$ and i want it so it is only in a bus i can start the bus job

Plz help me and sorry for my bad english
Reply
#2

So.... make an a command eg.(this should be a command)
/busdrive (This is just an example)

Check if is player in bus,taxi or what ever you want to use IsPlayerInVehicle:

[TIP]: you should define those cars so it's easier to use them.

https://sampwiki.blast.hk/wiki/Function:IsPlayerInVehicle


And if he is use SetPlayerCheckpoint :

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint

Than use OnPlayerEnterCheckpoint(playerid)
And give player money....
Reply
#3

Quote:
Originally Posted by Alex_Valde
Посмотреть сообщение
So.... make an a command eg.(this should be a command)
/busdrive (This is just an example)

Check if is player in bus,taxi or what ever you want to use IsPlayerInVehicle:

[TIP]: you should define those cars so it's easier to use them.

https://sampwiki.blast.hk/wiki/Function:IsPlayerInVehicle


And if he is use SetPlayerCheckpoint :

https://sampwiki.blast.hk/wiki/Function:SetPlayerCheckpoint

Than use OnPlayerEnterCheckpoint(playerid)
And give player money....
I dont know what you mean sorry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)