Created
February 21, 2018 00:12
-
-
Save ValentinFunk/5c13eb052171517389971bbcb300d4d1 to your computer and use it in GitHub Desktop.
Prometheus Action for increasing player's pointshop 2 inventory size (slots)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[ERROR] Custom_action_82_for_MYNAME:4: unexpected symbol near ')'
[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?