So it adds mods to the weapon?
But can't get it to spawn in hotbar?
Try spawning it in slot 36 I think is the first slot in the hotbar (Check code of battlefield server kit for slot numbers)
Maybe this?
ItemDataBlock weapon = DatablockDictionary.GetByName("M4");
#Look up weapon
weapon.ITEM_TYPE.SetUses(int count);
#Set how much ammo is loaded in the weapon
weapon.ITEM_TYPE.SetTotalModSlotCount(int count);
#Set how many mods slots you'd like
weapon.ITEM_TYPE.SetCondition(float...
Do you need to add weapon mods? If not use this:
Inventory Pinventory = player.Inventory.InternalInventory
#Get Player inventory
ItemDataBlock itemlookup = DatablockDictionary.GetByName("M4");
#Look up weapon
IInventoryItem itemdata = Pinventory.AddItem(itemlookup, int slot, int amount);
#Add...
Inventory Pinventory = player.Inventory.InternalInventory
#Get Player inventory
ItemDataBlock itemlookup = DatablockDictionary.GetByName("M4");
#Look up weapon
IInventoryItem itemdata = Pinventory.AddItem(itemlookup, int slot, int amount);
#Add weapon to player inventory
itemdata.SetUses(int...
Or add it to your .Bat
@echo off
rust_server.exe -batchmode -hostname "My Server" -maxplayers 50 -port 28015 -datadir "serverdata/" -rcon.password "Password123" -crafting.instant true
Assuming you are using DonatorRank, it is probably because everyone has the same SteamID.
I am slowly updating...
Ah, Got ya
I've asked DreTaX awhile back to upload his work to an Anti Virus website thingy to be check and then they push that info to anti virus programs
I have no idea how long that process takes and I guess it also depends if the user is using a cracked anti virus that doesn't update
I...
Since day one of release it was detected as a Trojan, I think it has something to do with the .exe moving/downloading new files
I have added it to my Anti Virus ignore list
But if you don't think it is safe, Then don't use it
I think that type of detection is a warning that it is possibly a trojan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.