fixed derps causing client/server crashes

This commit is contained in:
Tahir Akhlaq 2016-06-16 03:01:10 +01:00
parent 8eaa920751
commit ac01224769
16 changed files with 60 additions and 60 deletions

View file

@ -10,6 +10,6 @@ The param "itemDBIds" has the vars: item1 and item2.
--]]
function onEventStarted(player, actor, triggerName, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
player:GetInventory(0x00):removeItem(invActionInfo.slot);
player:GetInventory(0x00):RemoveItem(invActionInfo.slot);
player:EndCommand();
end