Jump to content

nikitafloy

Members
  • Content Count

    404
  • Joined

  • Last visited

  • Days Won

    1

nikitafloy last won the day on March 4

nikitafloy had the most liked content!

Community Reputation

15 Decent

1 Follower

About nikitafloy

  • Rank
    Thug

Details

  • Gang
    mta-download.ru
  • Location
    mta-download.ru

Recent Profile Visitors

2,609 profile views
  1. May be u use custom nametag script
  2. @sinakh i dont know ur mta mod U need to find script which use 'setPlayerName' function and remove this Example: setPlayerName(player, 'nickname' .. math.random(99999))
  3. "i need ... player account name instaead nikname ... example script that can save player nickname and after login set player nickname to saved nikname" @sinakh want that If he want to save nickname (player), not nickname (which was account name and was saved in accountData): addEventHandler('onPlayerLogin', root, function(_,account) local name = getAccountData(account, 'savedName') if not name then name = getPlayerName(source) setAccountData(account, 'savedName', name) end setPlayerName(source, name) end)
  4. Set account name instead nickname: addEventHandler('onPlayerLogin', root, function(_,account) setPlayerName(source, getAccountName(account)) end) Save account name on first server login and loading: addEventHandler('onPlayerLogin', root, function(_,account) local accName = getAccountData(account, 'savedName') if not accName then accName = getAccountName(account) setAccountData(account, 'savedName', accName) end setPlayerName(source, accName) end)
  5. You need to create custom smoke Check it here: https://github.com/alcoholiclobster/drift-paradise-mta https://github.com/alcoholiclobster/drift-paradise-mta/blob/1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69/[core]/dpVehicles/client/tyres_smoke.lua
  6. fix it in save system
  7. take here: https://github.com/alcoholiclobster/drift-paradise-mta/blob/1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69/[core]/dpWheelsManager/assets/shaders/wheel.fx
  8. i'll be use: local vehicle = createVehicle(...) local rotation = 0 addEventHandler('onClientRender', root, function() rotation = rotation + 0.5 -- I think, i shouldn't check and set rotation 0, if value will be > 360 setElementRotation(vehicle, 0, 0, rotation) end)
  9. getElementData(player, 'id') can be nil
  10. Use regulars: string.match For example
  11. @Thomas_Nightfire i would check how work animation when u attach ped to Element And look another boolean-params setPedAnimation function, u should to try different value
  12. https://wiki.multitheftauto.com/wiki/OOP_in_Lua
  13. If u looking staff: https://forum.mtasa.com/forum/149-looking-for-staff/ If u have problem - we need in description
×
×
  • Create New...