mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
More changes.
This commit is contained in:
parent
c1fdad2156
commit
044d7e5207
8 changed files with 53 additions and 56 deletions
|
@ -50,7 +50,7 @@ function onEventStarted(player, npc, triggerName)
|
|||
if playerGC == gcOfficer[npcId] then
|
||||
callClientFunction(player, "eventTalkWelcome");
|
||||
if playerCurrentRank < currentRankCap then
|
||||
if player:GetInventory(INVENTORY_CURRENCY):HasItem(playerGCSeal, playerRankUpCost) then
|
||||
if player:GetItemPackage(INVENTORY_CURRENCY):HasItem(playerGCSeal, playerRankUpCost) then
|
||||
-- Show Promotion window, allow paying
|
||||
local choice = callClientFunction(player, "eventTalkJoined", playerCurrentRank, playerNextRank, true, true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue