Solved DonatorRank Help

ViraL

Member
Member
Aug 19, 2014
50
4
8
Hello FougeRite Community,

I have been trying all day long, to try create a custom prefix using the same code OwnerID uses. And adds them to settings.ini

I got it to work, but then someone the server goes unresponsive for serval seconds. Is there an easier way, to make the prefix?

I also tried to get the Prefix plugin on Magma, doesn't work due to get_ini error.
Works on previous version of Fougerite.
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Hello FougeRite Community,

I have been trying all day long, to try create a custom prefix using the same code OwnerID uses. And adds them to settings.ini

I got it to work, but then someone the server goes unresponsive for serval seconds. Is there an easier way, to make the prefix?

I also tried to get the Prefix plugin on Magma, doesn't work due to get_ini error.
Works on previous version of Fougerite.
What do you mean by prefix? I Don't understand
 

ViraL

Member
Member
Aug 19, 2014
50
4
8
Exactly [VIP] which is already in that plugin, but i wanna make customs one bound to their ID. Since my players wan't to buy Custom Prefixes.
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
Well, shouldn't be that hard.



Player.Name has a set method. Just change it OnPlayerConnected and ready to go.
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
I can give it a try if you feel too lazy, I have some free time to spare right now :p
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
My only problem with that setname is, that I think there are more variables in the rust dlls of them. Since It changes your chatname, but not the name above the character, and when you loop through the players and find the playdr with the new name, It never found them. Maybe Im wrong about the finding thing but thats what I experienced. Maybe we can find the other name setter variables in the dlls

Sent from my Samsung Galaxy S4
 

Snake

Moderator
Moderator
Jul 13, 2014
288
174
28
My only problem with that setname is, that I think there are more variables in the rust dlls of them. Since It changes your chatname, but not the name above the character, and when you loop through the players and find the playdr with the new name, It never found them. Maybe Im wrong about the finding thing but thats what I experienced. Maybe we can find the other name setter variables in the dlls

Sent from my Samsung Galaxy S4
Mmm, or change it only on the OnChat hook ? Or make a Player.ChatName property ?