mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Consolidated server data and automatically place them in approporate directories post build
This commit is contained in:
19
data/scripts/commands/CheckCommand.lua
Normal file
19
data/scripts/commands/CheckCommand.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
|
||||
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
|
Reference in New Issue
Block a user