GerardWay Posted October 11, 2014 Share Posted October 11, 2014 Hey guys, could someone give me an example of a script, in which when a Player enters a certain vehicle, if their nickname isn't Gerard or their ACL Group isn't Admin, they just get out of a car and a sound is played named 'car.mp3' I'll really appreciate any help! Link to comment
TAPL Posted October 11, 2014 Share Posted October 11, 2014 Use the event onVehicleStartEnter and use getPlayerName and compare it to 'Gerard' and use isObjectInACLGroup to see if it adimn, if not then use cancelEvent and make a trigger with triggerClientEvent and use playSound on client side to play the sound. Link to comment
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