and 2nd
How to add auto item after player die!!
i has
exec FN_AddItemToUser @CustomerID, 20174, 2000 >> but for account
- - - Updated - - -
how to add auto item to new player?
-- Modify WZ_CharCreate
-- find -- give basic items for first few survivors
-- edit
- - - Updated - - -
Code:if @CharsCreated <= 5) begin -- add some default items - BE ULTRA CAREFUL with BackpackSlot number insert into UsersInventory (CustomerID, CharID, BackpackSlot, ItemID, LeasedUntil, Quantity) values (@in_CustomerID, @CharID, 1, 101306, '2020-1-1', 1) -- Flashlight insert into UsersInventory (CustomerID, CharID, BackpackSlot, ItemID, LeasedUntil, Quantity) values (@in_CustomerID, @CharID, 2, 101261, '2020-1-1', 1) -- Bandages insert into UsersInventory (CustomerID, CharID, BackpackSlot, ItemID, LeasedUntil, Quantity) values (@in_CustomerID, @CharID, 3, 101296, '2020-1-1', 1) -- Can of Soda insert into UsersInventory (CustomerID, CharID, BackpackSlot, ItemID, LeasedUntil, Quantity) values (@in_CustomerID, @CharID, 4, 101289, '2020-1-1', 1) -- Granola Bar end


Reply With Quote

