Jump to content

i need help with gang cars


jirco

Recommended Posts

hello everybody i am learning how to script i have a question is it possible to make a script that only members that are in a gang can drive in their cars like a Stafford with plate Mafia is it possible to make a script that when you are in the group mafia you can drive with it but if you are in a other group or in no group it says: You are not in the mafia! also take 2 cars like a infernus and a stafford and you got ranks from 0 to 5, you are rank 1 and you can only drive with the infernus from rank 3 is it possible that it says You need rank 3 to drive this! or a other text?

so can cars only be for gangs?

and take

mafia rank 2 stafford

mafia rank 3 infernus

i get in the infernus when i am rank 2 i get thrown out and a text says: your rank isn't high enough!

already thanks!

Greetings jirco

Link to comment
hello everybody i am learning how to script i have a question is it possible to make a script that only members that are in a gang can drive in their cars like a Stafford with plate Mafia is it possible to make a script that when you are in the group mafia you can drive with it but if you are in a other group or in no group it says: You are not in the mafia! also take 2 cars like a infernus and a stafford and you got ranks from 0 to 5, you are rank 1 and you can only drive with the infernus from rank 3 is it possible that it says You need rank 3 to drive this! or a other text?

so can cars only be for gangs?

and take

mafia rank 2 stafford

mafia rank 3 infernus

i get in the infernus when i am rank 2 i get thrown out and a text says: your rank isn't high enough!

already thanks!

Greetings jirco

i can make it locked for teams,you can make acl rank1,rank2,rank3 and lock for ranks

Edited by Guest
Link to comment

also you can work with element data, get if a vehicle owned by a group/team and let players enter it.

I guess this what you need:

setElementData -- use this if you are going to add a function to set vehicle owned to a group 
getElementData 
outputChatBox 
cancelEvent 
"onClientVehicleEnter" 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...