MegaCheat Posted January 13, 2023 Posted January 13, 2023 (edited) Hallo Max who can see if this code correct if (true) { if (getFame() > 10) { if (isOnEvent()) { setFame(getFame() - 1); return false; } } I want after 10 points not to lost the points on tvt Edited January 13, 2023 by MegaCheat Quote
0 Amenadiel Posted January 13, 2023 Posted January 13, 2023 If boolean is true Then if u have more than 10 and you are in event set fame ( get fame) and make -1 But return it false. I dont think is correct and much hardcoded send a pm at discord Amenadiel#2435 i will fix this for free and u can share the fix if u wish here Quote
0 'Baggos' Posted January 13, 2023 Posted January 13, 2023 12 hours ago, MegaCheat said: Hallo Max who can see if this code correct I want after 10 points not to lost the points on tvt What you mean exactly in this line? If you have 10 points(what those points are?) you don't want to loose those 10 points? If points get 0 after a value of 10, then somewhere in your code, is a check that set the points to 0. Quote
0 Zake Posted January 14, 2023 Posted January 14, 2023 On 1/13/2023 at 3:20 AM, MegaCheat said: Hallo Max who can see if this code correct if (true) { if (getFame() > 10) { if (isOnEvent()) { setFame(getFame() - 1); return false; } } I want after 10 points not to lost the points on tvt when does this trigger? on death i guess? Quote
0 An4rchy Posted January 15, 2023 Posted January 15, 2023 if (!isOnEvent() || (isOnEvent() && getFame() > 10)) setFame(getFame() - 1); Quote
Question
MegaCheat
Hallo Max who can see if this code correct
if (true)
{
if (getFame() > 10)
{
if (isOnEvent())
{
setFame(getFame() - 1);
return false;
}
}
I want after 10 points not to lost the points on tvt
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.