Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [meta.xml]
- <meta>
- <info author="Kafka" version="1.0.0" name="Przedmioty" description="Przyczepianie przedmiotow" type="script" />
- <script src="przedmioty.lua" type="client" />
- <include resource="bone_attach" />
- </meta>
- [meta.xml - end]
- [przedmioty.lua]
- local przedmiot = createObject( 1210,0,0,0 )
- local gracz = getLocalPlayer
- function przyczepPrzedmiot
- exports.bone_attach:attachElementToBone(przedmiot,gracz,12,0,0,0,0,0,0)
- end
- addCommandHandler ( "przyczep", przyczepPrzedmiot )
- [przedmioty.lua - end]
Add Comment
Please, Sign In to add comment