mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
20 lines
309 B
Lua
20 lines
309 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:endEvent();
|
|
|
|
end
|