I'm currently working on a custom script and I'm wondering if anyone knows how to make it so something can only be used once.
This is the section of the script that should only be able to be used once. Once the XP is claimed, they shouldn't be able to claim it again.
///VIP 1 //----------------------------------------------------------------------// if (_uid in _Raven_xpAdd) then { _xpAdd = 10000; _reason = "BoosterP"; _AddXP = [player,_xpAdd,_reason]; publicVariableServer "_AddXP"; }; [nil, player, rSAY, "Lootbox", 100] call RE; //Call S_effect when spawning systemchat "<Info> You have successfully bought 10k xp booster pack, Thank you for your purchase!"; sleep 10; systemchat "<Info> ONLY ONE CLAIM: DO NOT EXPLOIT THIS SYSTEM OR YOU WILL BE BANNED!!!"; }; //----------------------------------------------------------------------//

