Pox
Enthusiast
Whats wrong with
i don't see why it wouldn't work
do i need specific id or can i just put like "all" in there?
http://pastebin.com/C1wqcjTZ
i don't see why it wouldn't work
do i need specific id or can i just put like "all" in there?
http://pastebin.com/C1wqcjTZ
Code:
local MSG_REMOVE = ".VR"
function RemovesOnChat(event, player, message, type, language, pUnit)
if(message == MSG_REMOVE) then
player:VendorRemoveAllItems()
print(""..player:GetName().." used .VR command")
end
end
RegisterServerHook(16, RemovesOnChat)