XaskeL

Members
  • Content Count

    92
  • Joined

  • Last visited

  • Days Won

    2

XaskeL last won the day on April 16 2018

XaskeL had the most liked content!

Community Reputation

9 Neutral

About XaskeL

  • Rank
    Punk-@ss B*tch

Details

  • Gang
    Russian Boy!
  • Location
    Taiga
  • Occupation
    Vodka, Bear!
  • Interests
    Balalaika

Recent Profile Visitors

1,562 profile views
  1. XaskeL

    Mass Crashes

    Help. What is it? Because of what may be crashes? One thing unites them all - MTA version 16350.8.005
  2. XaskeL

    find blip coordinates in circle radar

    I need to understand how to calculate the turn of the blip around the radar, as well as its position to the center of the radar
  3. help me find blip coordinates on frames ex, ey this blip position 142 distance from center in radar to the brink of radar local camx,camy,_ = getElementPosition(camera) local ex,ey = 1164.468, -948.094 local t = -math.deg(math.atan2(camx - ex, camy - ey)) local r = t < 0 and t + 360 or t local movx = (math.sin(camrot-r) * 142) local movy = (math.cos(camrot-r) * 142) dxDrawImage(centerx + movx - 12, centery + movy - 12, 24, 24, 'images/icons/4.png', 0, 0, 0, white, false) Screen I absolutely do not understand math, so I hope that someone will help.
  4. XaskeL

    bandwidth for server

    Thank's you so much!
  5. XaskeL

    bandwidth for server

    Help. Enough me bandiwdth ("250 Mbps bandwidth (burst 1GB) unlimited") on my server in mta? Average online 280-350-500 peoples online. I will transfering files from extrenal hosting. OVH Dedicate Server. CPU: Intel I7-4790K - 4c/8t - 4GHz /4.4GHz RAM: 16GB DDR3 1600 MHz
  6. XaskeL

    Проблема с dxGrid

    Да, но в таблице ключей больше, а условие проверки нарушено: У тебя скролл зависел от <= 7 а скорее всего должно было быть => 7 Так что проблема явно, не в событии onClientKey и bindKey как решение
  7. XaskeL

    is that true or no? (script)

    tell us more
  8. XaskeL

    [Help] Faction Vehicles

  9. XaskeL

    is that true or no? (script)

    myImage = guiCreateStaticImage(100, 100, 100, 100, "skin1.png", false) addEventHandler("onClientGUIClick", myImage, function() local txd = engineLoadTXD("skin1.txd") -- correct your path to model! (txd) engineImportTXD(txd,411) -- local dff = engineLoadDFF("skin1.dff",411) -- correct your path to model! (dff) engineReplaceModel(dff,411) end,false ); A script is a sequence of actions. Like in a movie. "The player pressed the picture -> a function has been called that has a body of actions -> replaces the model of the machine (ID 411) -> the event ends.
  10. XaskeL

    [Help] Faction Vehicles

    local policeVehicles = { {597, -1594.15295, 674.24622, 7.18750, 92.063659667969}, } function mashinPolice (thePlayer, seat, jacked) if not getElementData (thePlayer, "faction") == Police and getElementModel(source) == "policeVehicles" then cancelEvent() outputChatBox ( "#ffff00your not in police department faction", player,255,255,255,true) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), mashinPolice ) My code: local policeVehicles = { {597, -1594.15295, 674.24622, 7.18750, 92.063659667969}, } local isVehiclePolice = {} for i, v in ipairs(policeVehicles) do isVehiclePolice[ v[1] ] = true; end addEventHandler('onVehicleStartEnter', root, function(player, seat, jacked, door) if seat ~= 0 then return false end local model = getElementModel(source) if isVehiclePolice[model] and not getElementData(player, "faction") == Police then -- variable 'Police' is defined? outputChatBox("#ffff00your not in police department faction",player,255,255,255,true) cancelEvent() end end ); -- or not then if isVehiclePolice[model] and not getElementData(player, "faction") == Police then -- faction? replace to 'fraction' -- Police? replace to "Police" -- EXAMPLE: if isVehiclePolice[model] and not getElementData(player, "fraction") == "Police" then
  11. XaskeL

    Помогите прошу!

    <right name="command.logout" access="false"></right> <right name="command.register" access="false"></right> <right name="command.login" access="false"></right> <right name="command.chgmypass" access="false"></right> <acl name="Everyone"> <right name="command.logout" access="false"></right> <right name="command.register" access="false"></right> <right name="command.login" access="false"></right> <right name="command.chgmypass" access="false"></right> </acl>
  12. XaskeL

    [HELP] engineLoadDFF using raw data

    base64Decode(teaEncode(...)) it's so easy?
  13. XaskeL

    [Question] [Help] Weapon Holds

    del
  14. addEventHandler('onPlayerJoin', getRootElement(), functon() fadeCamera(source,true) end ); должно помочь в server.lua (serverside)