Gouki Posted January 13, 2021 Group: Members Topic Count: 88 Topics Per Day: 0.05 Content Count: 261 Reputation: 13 Joined: 08/12/20 Last Seen: November 21, 2024 Share Posted January 13, 2021 Hi all, Can someone help me add a display message on #cash? Unfortunately it doesn't show any message if you have successfully added cash using the # command. maybe something like, "You have successfully added 1000 cash points to "player name". Total 1000 Points." Is this possible? Quote Link to comment Share on other sites More sharing options...
0 hikashin-rae Posted January 13, 2021 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: 3 hours ago Share Posted January 13, 2021 Why not use viewer cash? https://github.com/15peaces/3ceam-Patches/blob/master/Scripts/CashView.txt Quote Link to comment Share on other sites More sharing options...
0 jawbreaker Posted January 13, 2021 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 68 Reputation: 1 Joined: 06/21/14 Last Seen: August 8, 2022 Share Posted January 13, 2021 /* Add to your function collection */ function script F_GetCash { #CASHPOINTS += getarg(0); dispbottom "You received "+getarg(0)+" Cash Points"; end; } /* Item Script */ - Id: 501 AegisName: Red_Potion Name: Red Potion Type: Healing Buy: 50 Weight: 70 Script: | callfunc "F_GetCash",1000; Quote Link to comment Share on other sites More sharing options...
0 Gouki Posted January 15, 2021 Group: Members Topic Count: 88 Topics Per Day: 0.05 Content Count: 261 Reputation: 13 Joined: 08/12/20 Last Seen: November 21, 2024 Author Share Posted January 15, 2021 On 1/13/2021 at 2:04 PM, Cookie-rae said: Why not use viewer cash? https://github.com/15peaces/3ceam-Patches/blob/master/Scripts/CashView.txt This is good, but unfortunately it doesn't work on latest git, have you tested it? Quote Link to comment Share on other sites More sharing options...
0 hikashin-rae Posted January 15, 2021 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: 3 hours ago Share Posted January 15, 2021 3 minutes ago, Almond Snicker said: This is good, but unfortunately it doesn't work on latest git, have you tested it? https://github.com/coookie1010/Server-Patches/blob/main/NPC/rA/viewcash.txt here i make it works perfect now thanks to 15peaces for the script. Quote Link to comment Share on other sites More sharing options...
0 Gouki Posted January 15, 2021 Group: Members Topic Count: 88 Topics Per Day: 0.05 Content Count: 261 Reputation: 13 Joined: 08/12/20 Last Seen: November 21, 2024 Author Share Posted January 15, 2021 3 hours ago, Cookie-rae said: https://github.com/coookie1010/Server-Patches/blob/main/NPC/rA/viewcash.txt here i make it works perfect now thanks to 15peaces for the script. I'll give it a try later today, does it detect even if the character's name has spaces in between? I've made a basic bindatcommand before but when there's spaces, it can't be located. even if you add "" on it.. Quote Link to comment Share on other sites More sharing options...
0 hikashin-rae Posted January 15, 2021 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 213 Reputation: 24 Joined: 01/14/13 Last Seen: 3 hours ago Share Posted January 15, 2021 2 minutes ago, Almond Snicker said: I'll give it a try later today, does it detect even if the character's name has spaces in between? I've made a basic bindatcommand before but when there's spaces, it can't be located. even if you add "" on it.. Yes it does read a character name between space no need to add "". Quote Link to comment Share on other sites More sharing options...
0 PARANOiA Posted June 16, 2024 Group: Members Topic Count: 6 Topics Per Day: 0.02 Content Count: 20 Reputation: 0 Joined: 04/14/24 Last Seen: Monday at 06:21 PM Share Posted June 16, 2024 I have the same problem, if I type #cash character(space)name(space)(ammount of cash) it says that I need to input the value, any clue on this? Quote Link to comment Share on other sites More sharing options...
Question
Gouki
Hi all,
Can someone help me add a display message on #cash? Unfortunately it doesn't show any message if you have successfully added cash using the # command.
maybe something like, "You have successfully added 1000 cash points to "player name". Total 1000 Points."
Is this possible?
Link to comment
Share on other sites
7 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.