mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
19 lines
309 B
Lua
19 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
|