mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00: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
|