XaskeL

Members
  • Content Count

    86
  • Joined

  • Last visited

  • Days Won

    2

XaskeL last won the day on April 16

XaskeL had the most liked content!

Community Reputation

9 Neutral

About XaskeL

  • Rank
    Transformer

Details

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

Recent Profile Visitors

1,420 profile views
  1. XaskeL

    Проблема с dxGrid

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

    is that true or no? (script)

    tell us more
  3. XaskeL

    [Help] Faction Vehicles

  4. 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.
  5. 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
  6. 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>
  7. XaskeL

    [HELP] engineLoadDFF using raw data

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

    [Question] [Help] Weapon Holds

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

    CreateProjectile

    Thank you very much!
  11. XaskeL

    CreateProjectile

    I wanted to do it. I'll try later but still, I'm waiting for a mathematical way
  12. XaskeL

    [HELP] engineLoadDFF using raw data

    5$, very userful soft Encryption models, shaders, images
  13. XaskeL

    CreateProjectile

    I need to calculate the velocity of the projectile, along the axes, so that it flies where I need it. Manually defined; start point: pos vehicle, the end point is indicated by the player on the map
  14. XaskeL

    CreateProjectile

    Please, help me, as run rocket to x,y,z coords from earth-vehicle? .. Var arguments take function: startx, starty, startz, rotx, roty, rotz, velx, vely, vely
  15. Да калкору уже сотни тысяч долларов предлаги только за то, чтоб помогать ему с сампом и развивать его. Он отказался. Кстати, он ввёл поддержку моделей как в мта 0.3.7 DL но только лоу поли) потом отказался от обновы и сказал что это не нужная фича и никого на форуме она не радует) а тех кто реально её хотел - просто перебанил на форуме и удалил их аккаунты а это не один десяток людей. Ещё Y_Less свалил от туда, удалив все свои репозитории с полезными скриптами, тот же форич