Jump to content

Spyke25

Members
  • Posts

    68
  • Joined

  • Last visited

Everything posted by Spyke25

  1. I have only that script about this team.
  2. I have errors with this : local teamGyg = createTeam ( "~GYG~", 255, 255, 0 ) function setColors() for i, car in ipairs( teamVehicles ) do --local col1, col2, col3 = getTeamColor ( teamGyg ) setVehicleColor ( car, 255 , 255 , 0 ) end end setTimer( setColors, 500, 0 )
  3. Ok thanks, but with this code : local teamGyg = createTeam ( "~GYG~", 255, 255, 0 ) function setColors() for i, car in ipairs( getElementsByType( "vehicle" ) ) do --local col1, col2, col3 = getTeamColor ( teamGyg ) setVehicleColor ( car, 255 , 255 , 0 ) end end setTimer( setColors, 500, 0 ) ALL the vehicles are yellow and black, and not ONLY the vehicles of the team member. How i can fix ?
  4. So, ( col1, col2, col3 ) mean ( r, g, b ) ? Sorry for the much quests but i want to learn good
  5. Yes but i haven't understand what i must change for set the color i want.
  6. Ok then, is this right? function createTeamsOnStart () local teamName,col1,col2,col3 teamGyg = createTeam ( "~GYG~", 255, 255, 0 ) function setColors() for i, car in ipairs( getElementsByType( "vehicle" ) ) do local col1,col2,col3 col1, col2, col3 = getTeamColor ( teamName ) setVehicleColor ( car, 255, 255, 0 , 0 ) end end setTimer( setColors, 500, 0 )
  7. How i can set the color i want? For example, if i want to give a yellow color at car, what i need to change in your code?
  8. Thanks Kenix, but in ( col1, col2, col3 ) I need to put rgb colors? ( 255, 0, 0 ) or what?
  9. Ok, thanks. But im a beginner of lua scripting, so i ask you if that's right : teamName = createTeam ( "Name", 255, 0, 0 ) setVehicleColor ( playerVehicle, col1, col2, col3, col4 )
  10. Hello. I made a script it make 2 teams. I would to know how i can set a color at the car when a player join the team. For example, i have a red team, when i join this team i will have a red car automatically ( race server ). Can someone help me ? Thanks in advance.
  11. Well, thanks. I have fixed the "time bar" position and i decide to leave the rank at default position at the moment. But you can post me the code i need to put in my file for enable the color function ? Since i don't know where i can find it.
  12. Ok then, thanks so much. Last quest : For nametag i need to change from false to true in that line ? dxDrawText ( getPlayerName(player), sx, sy - offset, sx, sy - offset, tocolor(r,g,b,textalpha), textscale*NAMETAG_TEXTSIZE, "default", "center", "bottom", false, false, false )
  13. Thanks, but race_client.lua contains so much codes, you can help me to find what i need to edit ?
  14. Well, i would to make this changes at my race server : 1. How i can put the [ #00000 Example ] colors like the chat, up the cars too? [ Because the default is white nickname for every players ] Like that = 2. How i can move this time sensor from here to here like that ? 3. How i can remove the race position? Thanks in advance
  15. How much time i need to wait? And.. WHY the old server is already in the list ? -> Please explain me
  16. So i just need to wait? The old server will quit the list and the new one will join it?
  17. Hello everybody. I will started a server, it had worked well.. but when a time my router become off-line and after on-line i have got some bugs . . . Now, we can found my old server in browse server. It is called "Coconuts Fun Server" . . . Is bugged, because have my old IP, nobody can join it.. But the strange thing is : i have not start this server.. Now i have maked another server called ~[CG]~ #3 Cool Gamers -|Freeroam|- But browse server cant see it. ( game-monitor.com also ) How i can fix those problems . . . ANOTHER INFO = When i type ase at the console, the result is good, not 0. ANOTHER INFO = I try to change the server port to 22003 to 22007 but nothing...
×
×
  • Create New...