mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.
This commit is contained in:
parent
67928ee875
commit
5e926bf668
169 changed files with 1310 additions and 37 deletions
|
@ -7,12 +7,16 @@ Notes:
|
|||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, commandActor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7)
|
||||
function onEventStarted(player, actor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7)
|
||||
|
||||
actor = player:GetActorInInstance(ownerActorId);
|
||||
|
||||
if (actor != nil) then
|
||||
player:kickEvent(actor, "pushCommand", "pushCommand");
|
||||
if (actor:GetActorClassId() == 1200052) then
|
||||
player:kickEvent(actor, "commandJudgeMode", "commandJudgeMode");
|
||||
else
|
||||
player:kickEvent(actor, "pushCommand", "pushCommand");
|
||||
end
|
||||
else
|
||||
player:endEvent();
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue