Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

11 Decent

1 Follower

About nikitafloy

  • Rank


  • Gang
  • Location

Recent Profile Visitors

2,351 profile views
  1. take here: https://github.com/alcoholiclobster/drift-paradise-mta/blob/1bc6b1bf6520b1818c54b7fb9b75f97f9b290e69/[core]/dpWheelsManager/assets/shaders/wheel.fx
  2. 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)
  3. getElementData(player, 'id') can be nil
  4. Use regulars: string.match For example
  5. @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
  6. https://wiki.multitheftauto.com/wiki/OOP_in_Lua
  7. If u looking staff: https://forum.mtasa.com/forum/149-looking-for-staff/ If u have problem - we need in description
  8. Collections data in elementData type and save. On spawn - get elementData and apply changes from ur scripts. Use exports, triggers if u need.
  9. @Alice Synthesis Thirty Error, when i try to add Check discord name
  10. in function outputChatBox, client-side, localPlayer dont use how 2nd argument
  11. U can to try use ACL and manage ACL for commands. 'command.giveWeapon', for example Any ACL groups can take weapon, if ur give rights for it Or use commands with check team (getPlayerTeamName == 'Any Team Name')
  12. https://community.mtasa.com/?p=resources&s=details&id=18028 - url on download resource in files
  13. triggerClientEvent (thePlayer, "Start", thePlayer) function painel () outputChatBox("aloboizaumm") if painel == false then showCursor (true) addEventHandler ("onClientRender", root,abrir) painel = true end end addEvent("Start", true) addEventHandler("Start", localPlayer, painel) triggerClientEvent
  14. @xFabel addEventHandler("onPlayerLogin", root, function(_, theCurrentAccount) local acc = getAccountData(theCurrentAccount,"AccountPlayer") if not acc then -- not acc, because its new account - new account havent any datas setAccountData(theCurrentAccount,"AccountPlayer",true) end end)
  • Create New...