DayZ
GearPDA
Nevo 2020 年 9 月 20 日 上午 2:29
Make Player Spawn with PDA+Battery Attached
Open mpmissions file INIT.C and find line 79 that gives the player the RAG:
itemEnt = itemClothing.GetInventory().CreateInInventory( "Rag" );

Above this line, add the following two:

itemEnt = player.GetInventory().CreateInInventory("ItemPDA");
itemEnt.GetInventory().CreateAttachment("Battery9V");