mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
More fixings and improvements.
This commit is contained in:
parent
718bc28c57
commit
b81141a158
5 changed files with 64 additions and 23 deletions
|
@ -53,14 +53,19 @@ INVENTORY_EQUIPMENT_OTHERPLAYER = 0x00F9; --Max 0x23
|
|||
|
||||
--UTILS
|
||||
|
||||
function kickEventContinue(player, actor, trigger, ...)
|
||||
player:kickEvent(actor, trigger, ...);
|
||||
return coroutine.yield("_WAIT_EVENT", player);
|
||||
end
|
||||
|
||||
function callClientFunction(player, functionName, ...)
|
||||
player:RunEventFunction(functionName, ...);
|
||||
result = coroutine.yield("_WAIT_EVENT");
|
||||
result = coroutine.yield("_WAIT_EVENT", player);
|
||||
return result;
|
||||
end
|
||||
|
||||
function wait(seconds)
|
||||
return coroutine.yield(_WAIT_TIME, seconds);
|
||||
return coroutine.yield("_WAIT_TIME", seconds);
|
||||
end
|
||||
|
||||
function waitForSignal(signal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue