Overlord3g Posted February 23, 2013 Share Posted February 23, 2013 Как мне сделать чтобы при входе на сервер игроки появлялись с оружием в meta.xml пишу "#spawn_weapons" value='[ "9:1, 22:340, 25:20, 28:100, 30:60, 16:2" ]' /> но все равно появляюсь без оружия что я делаю не так? Link to comment
napstyle Posted February 23, 2013 Share Posted February 23, 2013 в .lua: function giveWeaponsOnSpawn ( theSpawnpont, theTeam ) giveWeapon ( source, 31, 200 ) -- Даёт M4 и 200 патронов end addEventHandler ( "onPlayerSpawn", getRootElement(), giveWeaponsOnSpawn ) Link to comment
Overlord3g Posted February 23, 2013 Author Share Posted February 23, 2013 Спасибо помогло Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now