BriGhtx3 Posted October 3, 2011 Posted October 3, 2011 local passenger = getVehicleOccupant( source, 1 ) takePlayerMoney ( passenger, 100 ) He takes the money of the player in seat 1. But I want that he takes money of ALL in the bus except of the Driver. The driver should get 100.
BinSlayer1 Posted October 3, 2011 Posted October 3, 2011 local passengers = getVehicleOccupants(source) givePlayerMoney(passengers[1], 100) for i = 2, #passengers do takePlayerMoney ( passengers[i], 100 ) end
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now