mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.
This commit is contained in:
1 parent
67928ee875
commit
5e926bf668
169 files changed
+1310
-37
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user