mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
21 lines
378 B
Lua
21 lines
378 B
Lua
![]() |
require("global");
|
||
|
|
||
|
properties = {
|
||
|
permissions = 0,
|
||
|
parameters = "sss",
|
||
|
description =
|
||
|
[[
|
||
|
Adds experience <qty> to player or <targetname>.
|
||
|
!giveexp <qty> |
|
||
|
!giveexp <qty> <targetname> |
|
||
|
]],
|
||
|
}
|
||
|
|
||
|
function onTrigger(player, argc, jobId)
|
||
|
local sender = "[setjob] ";
|
||
|
|
||
|
jobId = tonumber(jobId)
|
||
|
if player then
|
||
|
player:SetCurrentJob(jobId);
|
||
|
end;
|
||
|
end;
|