1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-22 12:47:46 +00:00
project-meteor-server/data/scripts/commands/PartyInviteCommand.lua

19 lines
369 B
Lua
Raw Normal View History

--[[
PartyInviteCommand Script
Handles what happens when you invite
--]]
function onEventStarted(player, actor, triggerName, name, arg1, arg2, arg3, actorId)
if (name ~= nil) then
2016-06-15 03:41:23 +01:00
GetWorldManager():CreateInvitePartyGroup(player, name);
elseif (actorId ~= nil) then
2016-06-15 03:41:23 +01:00
GetWorldManager():CreateInvitePartyGroup(player, actorId);
end
2016-06-15 03:41:23 +01:00
player:EndCommand();
end