gghvcffcv Posted March 28, 2014 Posted March 28, 2014 How Could i strict a Job with This gang system only members that are in Castillo's (Solidsnake) gang system
xXMADEXx Posted March 28, 2014 Posted March 28, 2014 Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function.
gghvcffcv Posted March 28, 2014 Author Posted March 28, 2014 Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function. Wich are the arguments?
gghvcffcv Posted March 28, 2014 Author Posted March 28, 2014 Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function. Wich are the arguments? createTeam ( "Official Squad", 0, 0, 255 ) function aceptarr (thePlayer) if getAccountGang (thePlayer, SWAT) then local theTeam = getTeamFromName ( "Official Squad" ) if ( theTeam ) then setPlayerTeam ( source, theTeam ) setPlayerNametagColor ( source, 0, 0, 255 ) setElementModel ( source, 285 ) giveWeapon ( source, 31, 550 ) giveWeapon ( source, 23, 550 ) giveWeapon ( source, 3, 550 ) giveWeapon ( source, 29, 550 ) giveWeapon ( source, 46, 550 ) giveWeapon ( source, 41, 5000 ) giveWeapon ( source, 34, 550 ) end end end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", root, aceptarr ) doesn't works
gghvcffcv Posted March 28, 2014 Author Posted March 28, 2014 Check if the player is in the gang, by using their account name in the argument for the "getAccountGang" exported function. Wich are the arguments? createTeam ( "Official Squad", 0, 0, 255 ) function aceptarr (thePlayer) if getAccountGang (thePlayer, SWAT) then local theTeam = getTeamFromName ( "Official Squad" ) if ( theTeam ) then setPlayerTeam ( source, theTeam ) setPlayerNametagColor ( source, 0, 0, 255 ) setElementModel ( source, 285 ) giveWeapon ( source, 31, 550 ) giveWeapon ( source, 23, 550 ) giveWeapon ( source, 3, 550 ) giveWeapon ( source, 29, 550 ) giveWeapon ( source, 46, 550 ) giveWeapon ( source, 41, 5000 ) giveWeapon ( source, 34, 550 ) end end end addEvent( "onGreeting", true ) addEventHandler( "onGreeting", root, aceptarr ) doesn't works
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