Xplorer4x4 Posted July 14, 2010 Report Share Posted July 14, 2010 I can spawn a SS, no problems, however, the aim command is disabled. I believe I need to make it so a riffle spawns in his hand like the medic bag spawn in the hand of Medics.Any one know how to accomplish getting a rifle in his hand? Quote Link to comment Share on other sites More sharing options...
craig141 Posted July 14, 2010 Report Share Posted July 14, 2010 You just need to add thiselse if (ChildID == 11){Person p = Game::CreatePerson(OBJ_SHARPSHOOTER, UNNAMED);p.SetEquipment(EQUIP_RIFLE);}the ChildID and OBJ_SHARPSHOOTER is whatever you got Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 14, 2010 Author Report Share Posted July 14, 2010 Like I said I know that but I believe EQUIP_RIFLE has to be so it knows what the the rifle means, doesnt it? Quote Link to comment Share on other sites More sharing options...
craig141 Posted July 14, 2010 Report Share Posted July 14, 2010 No it works like that, I tried it. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted July 14, 2010 Author Report Share Posted July 14, 2010 Yes it does, just tried it. Good job! Thanks! Quote Link to comment Share on other sites More sharing options...