xeon17 Posted January 14, 2014 Share Posted January 14, 2014 I have a question , i working an my Base system. I seen in 1 server when a gang buy the base their gang members spawn in the base. So i ask how is that possible ? i thinked maybe something like this radararea2 = createRadarArea( 110.91990, 1800.89435, 200, 145, 255, 255, 255, 225 ) function GangSpawn ( thePlayer) local playerTeam = getPlayerTeam ( thePlayer ) if ( playerTeam ) then local r, g, b = getTeamColor ( playerTeam ) can i use getRadarAreaColor and '' if the RadarAreaColor is local r, g, b = getTeamColor ( playerTeam ) then the gang members who have Area 51 spawn in extample in (298.98865, 1815.90613, 3.71094) or should i use other functions can someone help me please , When the Team Color is same like the Radar Area Color then the ''Team'' spawn in extample (298.98865, 1815.90613, 3.71094) Link to comment
Baseplate Posted January 14, 2014 Share Posted January 14, 2014 What happens if 2 teams got the same color? then shit would be fucked up mate, I suggest saving it to SQLite/MySQL and use element data. Link to comment
xeon17 Posted January 14, 2014 Author Share Posted January 14, 2014 I'm no know SQL / MYSQL I think wont happen that 2 teams got the same color. Link to comment
Baseplate Posted January 14, 2014 Share Posted January 14, 2014 XML can do the trick aswell. 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