Skip to content

Instantly share code, notes, and snippets.

@Kamshak Kamshak/action.lua
Created Feb 21, 2018

Embed
What would you like to do?
Prometheus Action for increasing player's pointshop 2 inventory size (slots)
Pointshop2.DB.DoQuery(Format("UPDATE inventories SET numSlots = numSlots + 40 WHERE ownerId = (SELECT id FROM libk_player WHERE player = %s)", Prometheus.Temp.SteamID))
Prometheus.Temp.Ply.fullyLoadedPromise:Then(function() Pointshop2Controller:initializeInventory(Prometheus.Temp.Ply))
@MirronSenpai

This comment has been minimized.

Copy link

MirronSenpai commented Dec 19, 2018

[ERROR] Custom_action_82_for_MYNAME:4: unexpected symbol near ')'

  1. unknown - Custom_action_82_for_MYNAME:0
    [Prometheus error at 11:50:26 - 19/12/2018] Error while running RUN custom action for player: MYNAME{STEAM_0:0:xxxxxx} Error message: attempt to call a nil value

or I am doing it wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.