View Single Post
LithuanianJack
Senior Member
Join Date: Nov 2013
Location: Vilnius, Lithuania
Old 02-01-2019 , 11:24   Re: OciXCrom's Custom Shop + API
Reply With Quote #205

I'm using this plugin in CSDM mod and I want when player spawns, he would lose all abilities (for example unlimited clip), but the limit for player persists till map end (using with CSHOP_SAVE_LIMIT = 1 value). What I have to change in the code?

Now, if I use CSHOP_SAVE_LIMIT = 1, after death (respawn) I still have unlimited clip and limit 1/5
If I use CSHOP_SAVE_LIMIT = 0, after death (respawn) I don't have unlimited clip and limit 0/5
I want: CSHOP_SAVE_LIMIT = 1, after death (respawn) I would lose unlimited clip and limit would be 1/5


EDIT: fixed.

Last edited by LithuanianJack; 04-01-2019 at 10:39.
LithuanianJack is offline