Added 5 minutes later
function maxF()
if IsObjectExists('max')
then
else
SetObjectOwner('Bar',PLAYER_1);
Trigger(OBJECT_TOUCH_TRIGGER,'max',nil)
end;
end;
Trigger(OBJECT_TOUCH_TRIGGER,'max','maxF')
Did I write it correctly?
New here? I'm Roha — want a quick tour?
function maxF()
if IsObjectExists('max')
then
else
SetObjectOwner('Bar',PLAYER_1);
Trigger(OBJECT_TOUCH_TRIGGER,'max',nil)
end;
end;
Trigger(OBJECT_TOUCH_TRIGGER,'max','maxF')
Did I write it correctly?