Jump to content

ZL|LuCaS

Members
  • Posts

    293
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by ZL|LuCaS

  1. yes and you can separate game modes with setElemetdata and getElementData
  2. you need to use setElementData setElementDimension --etc
  3. you use this script? https://community.multitheftauto.com/ind ... ls&id=6858
  4. ZL|LuCaS

    userpanel

    acl.. add line right "admin" "resource.8Q-userpanel"> -- you are running the local server?
  5. exemple addEventHandler("onPlayerWasted",getRootElement(),function() unbindKey(source,"vehicle_fire", "down", FxNitro) end)
  6. this script does not exist you need to create your gamemode
  7. Some scripts, if he is cheap I will pay him/her I am Brazilian contact skype zika.odete
  8. ZL|LuCaS

    got Area

    test function onHitGangZone ( player ) if ( isPedInVehicle ( player ) ) then outputChatBox ( 'You cannot get this area with a vehicle!', player, 255, 255, 255, false ); return end if ( getTeamName ( getPlayerTeam ( player ) ) ~= tostring ( xmlNodeGetValue ( node ) ) ) then if ( not getPlayerTeam ( player ) ) then return end local x, y, z = getElementPosition ( player ); local zone = getZoneName ( x, y, z, false ); zon = zone:gsub ( ' ', '-' ) list = xmlLoadFile ( "list.xml" ); node = xmlFindChild ( list, zon, 0 ); triggerClientEvent ( 'onAnnChange', root, getPlayerName ( player ) .. ' is attacking zone: ' .. zone ); setRadarAreaFlashing ( area[zone], true ); colorTimer = setTimer ( function ( ) setRadarAreaColor ( area[zone], math.random ( 0, 255 ), math.random ( 0, 255 ), math.random ( 0, 255 ) ); end, 950, 0 ) i = 180 outputChatBox ( 'In 3 minutes, the area will be yours. If you get killed, try again.', player, 255, 255, 255 ); timer = setTimer ( function ( ) i = i - 1 triggerClientEvent ( 'onAnnChange', root, i .. ' seconds to done! Attacker: ' .. getPlayerName ( player ) .. ' | Area: ' .. zone ); if ( i == 0 ) then killTimer ( timer ) triggerClientEvent ( 'onAnnChange', root, getPlayerName ( player ) .. " has got the area '" .. zone .. "'" ); local r, g, b = getTeamColor ( getPlayerTeam ( player )) killTimer ( colorTimer ); setRadarAreaFlashing ( area[zone], false ); setRadarAreaColor ( area[zone], r, g, b, 200 ); gotArea = true xmlNodeSetValue ( node, getTeamName ( getPlayerTeam ( player ) ) ); xmlSaveFile ( list ) end end, 1000, 0 ) end --end end function onLeaveGangZone ( player ) if ( isTimer ( colorTimer ) ) then killTimer ( colorTimer ); end if ( isTimer ( timer ) ) then killTimer ( timer ) end if ( not gotArea ) then local x, y, z = getElementPosition ( player ) local c = getZoneName ( x, y, z, false ); setRadarAreaColor ( area[c], gangZones[c].r, gangZones[c].g, gangZones[c].b, gangZones[c].a ); setRadarAreaFlashing ( area[c], false ); triggerClientEvent ( 'onAnnChange', root, 'No new announcements' ); gotArea = false else setRadarAreaFlashing ( area[c], false ); triggerClientEvent ( 'onAnnChange', root, 'No new announcements' ); end end
  9. you want a multi gamemode I can do it if you pay me ..
  10. it is better you faser your own random map system and redo I think I can help with that
  11. depends what type of database you use mysql?
  12. Ok, now i understand, thank you Have last question, if model will be on server must change .dff? I mean model will with new .txd and old .dff... new txd new dff..
  13. ZL|LuCaS

    text anime

    you can also use interpolateBetween
  14. ZL|LuCaS

    An Question

    https://wiki.multitheftauto.com/wiki/OnClientPlayerQuit
×
×
  • Create New...