Author Topic: Updating a players inventory with new bricks?  (Read 463 times)

I tried doing;

findClientByName("siba").inventory0 = "269"; (269 is the ID for the 1x1 round data on my server)

serverCmdBuyBrick(findClientByName("siba"));

My brick cart GUI does not update, but my slot 0 ghostbrick is now the new brick.

I think you have to specify what brick you want to be bought into the cart in the function, but i'm not entirely sure.

I think you have to specify what brick you want to be bought into the cart in the function, but i'm not entirely sure.
serverCmdBuyBrick(findClientByName("siba"),0,269); works, thanks