Guest User

Untitled

a guest
Apr 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. [meta.xml]
  2.  
  3. <meta>
  4.     <info author="Kafka" version="1.0.0" name="Przedmioty" description="Przyczepianie przedmiotow" type="script" />
  5.     <script src="przedmioty.lua" type="client" />
  6.     <include resource="bone_attach" />
  7. </meta>
  8.  
  9. [meta.xml - end]
  10.  
  11. [przedmioty.lua]
  12. local przedmiot = createObject( 1210,0,0,0 )
  13. local gracz = getLocalPlayer
  14.  
  15. function przyczepPrzedmiot
  16.      exports.bone_attach:attachElementToBone(przedmiot,gracz,12,0,0,0,0,0,0)   
  17. end
  18. addCommandHandler ( "przyczep", przyczepPrzedmiot )
  19. [przedmioty.lua - end]
Add Comment
Please, Sign In to add comment