Jump to content

Reflex#

Members
  • Posts

    230
  • Joined

  • Last visited

Everything posted by Reflex#

  1. Reflex#

    Buy Maps

    yes that's dont mine script..sry..but why this script dont work?
  2. Reflex#

    vehcolor

    When map start,color of car=color of team,all good,but when during the map,i pickup another car,color changed on another,so i want that when car change,color dont changed,remained like color of team
  3. Reflex#

    vehcolor

    no..but if i have many teams?
  4. Reflex#

    vehcolor

    You test it? WARNING: vehcolor/server.lua:5: Bad argument @ 'setVehicleColor'
  5. Reflex#

    vehcolor

    dont work worked for me when car change,color too
  6. Reflex#

    vehcolor

    WARNING: vehcolor/server.lua:2: Bad 'player' pointer @ 'getPlayerTeam'(1)
  7. Reflex#

    vehcolor

    function setVehColor(playerSource) local teamOfPlayer = getPlayerTeam(playerSource) local r,g,b = getTeamColor(teamOfPlayer) local vehOfPlayer = getPedOccupiedVehicle(playerSource) if (vehOfPlayer) then setVehicleColor(vehOfPlayer, r,g,b,r,g,b,r,g,b,r,g,b) else setVehicleColor(vehOfPlayer, 1, 1, 1, 1) end end addEventHandler("onVehicleEnter", getRootElement(), setVehColor) I create this script..when map start,color of car is true..but when car change..color changing too. Help This is debugscript 3: WARNING: vehcolor/server.lua:3: Bad argument @ 'getTeamColor' WARNING: vehcolor/server.lua:6: Bad argument @ 'setVehicleColor'
  8. Very good map..i like map with many lights and many deco
  9. not bad map..i think you can do better
  10. Reflex#

    JoinQuit

    Can i do without this?
  11. Reflex#

    JoinQuit

    Yeah it work on local server..but write N/A..i'm from Ukraine..but thx you try hard to help me..you good guy
  12. Reflex#

    JoinQuit

    local countryNames = { ["AD"] = "Andorra", ["AG"] = "Antigua - Barbuda", ["AI"] = "Anguilla Arabia", ["AL"] = "Albania", ["AM"] = "Armenia", ["AR"] = "Argentina", ["AT"] = "Austria", ["AU"] = "Australia", ["AW"] = "Aruba", ["BA"] = "Bosnia", ["BE"] = "Belgium", ["BG"] = "Bulgaria", ["BH"] = "Bahrain", ["BM"] = "Bermuda", ["BN"] = "Bronei ", ["BO"] = "Bolivia", ["BR"] = "Brazil", ["BS"] = "Bahamas", ["BW"] = "Botswana", ["BY"] = "Belarus", ["BZ"] = "Belize", ["CA"] = "Canada", ["CC"] = "Cocos", ["CH"] = "Switzerland", ["CI"] = "Ivory Coast", ["CL"] = "Chile", ["CN"] = "China", ["CO"] = "Colombia", ["CU"] = "Cuba", ["CY"] = "Cyprus", ["CZ"] = "Czech", ["DE"] = "Germany", ["DK"] = "Denmark", ["DM"] = "Dominica", ["DO"] = "Dominican", ["EC"] = "Ecuador", ["EE"] = "Estonia", ["EG"] = "Egypt", ["ES"] = "Spain", ["ET"] = "Ethiopia", ["FI"] = "Finland", ["FR"] = "France", ["GB"] = "Great-Britain", ["GL"] = "Greenland", ["GY"] = "Guyana", ["HR"] = "Croatia", ["HU"] = "Hungary", ["ID"] = "Indonesia", ["IE"] = "Ireland", ["IR"] = "Iran", ["IS"] = "Iceland", ["IT"] = "Italy", ["IN"] = "India", ["JO"] = "Jordan", ["JM"] = "Jamaica", ["jp"] = "Mexico", ["KW"] = "Kuwait", ["IT"] = "Italy", ["LU"] = "Luxembourg", ["LV"] = "Latvia", ["MA"] = "Morocco", ["MC"] = "Monaco", ["MT"] = "Malta", ["MX"] = "Mexico", ["NG"] = "Nigeria", ["NL"] = "Netherlands", ["NO"] = "Norway", ["PA"] = "Panama", ["PE"] = "Peru", ["PH"] = "Philipines", ["PK"] = "Pakistan", ["PL"] = "Poland", ["PT"] = "Portugal", ["QA"] = "Qatar", ["RO"] = "Romania", ["RU"] = "Russia", ["SA"] = "Saudi Arbia", ["SE"] = "Sweden", ["SI"] = "Slovania", ["TO"] = "Tonga", ["TR"] = "Turkey", ["UA"] = "Ukraine", ["UK"] = "United Kingdom", ["US"] = "United States", ["UY"] = "Uruguay", ["VN"] = "Vietnam", ["YE"] = "Yemen", ["YU"] = "Yugoslavia", ["ZA"] = "South Africa" }; addEventHandler ( 'onPlayerJoin', root, function ( ) local country = exports [ 'admin' ]:getPlayerCountry ( source ); country = countryNames or 'N/A' setElementData ( source, 'Country', country ); outputChatBox ( getPlayerName ( source ) .. ' has joined the game from ' .. tostring( getElementData ( source, 'Country' ) ), root, 255, 100, 100, false ); end ); I try this and now write: PlayerName has joined the game from table: and number
  13. Reflex#

    JoinQuit

    Oh sorry..work..but writing only PlayerName has joined the game from N/A
  14. Reflex#

    JoinQuit

    i'm from Ukraine..country must showing..in scoreboard show..
×
×
  • Create New...