mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Scripts for running the various commands/npcs (done so far) are pushed.
This commit is contained in:
19
scripts/commands/CheckCommand.lua
Normal file
19
scripts/commands/CheckCommand.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
|
||||
CheckCommand Script
|
||||
|
||||
Handles player examining someone
|
||||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, commandactor, 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