mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
23 lines
No EOL
603 B
Lua
23 lines
No EOL
603 B
Lua
--[[
|
|
|
|
BonusPointCommand Script
|
|
|
|
Functions:
|
|
|
|
operateUI(pointsAvailable, pointsLimit, str, vit, dex, int, min, pie)
|
|
|
|
--]]
|
|
|
|
require ("global")
|
|
|
|
function onEventStarted(player, actor, triggerName)
|
|
--local points = player:GetAttributePoints();
|
|
--player:RunEventFunction("delegateCommand", actor, "operateUI", points.available, points.limit, points.inSTR, points.inVIT, points.inDEX, points.inINT, points.inMIN, points.inPIT);
|
|
result = callClientFunction(player, "delegateCommand", actor, "operateUI", 100, 100, 10, 10, 10, 10, 10, 10);
|
|
|
|
--Do Save
|
|
if (result == true) then
|
|
end
|
|
|
|
player:endEvent();
|
|
end |