project-meteor-server/data/scripts/commands/CheckCommand.lua
2016-06-15 03:41:23 +01:00

20 lines
311 B
Lua

--[[
CheckCommand Script
Handles player examining someone
--]]
function onEventStarted(player, commandactor, triggerName, arg1, arg2, arg3, arg4, checkedActorId)
actor = player:GetActorInInstance(checkedActorId);
if (actor ~= nil) then
player:examinePlayer(actor);
end
player:EndCommand();
end