Error: Must be a constant expression // help please
Hello guys, I need your help again. How I can do it, so It wont send me error? I want to do prefix in say as same as actual rank. Thanks
Code:
public handleSayText(msgId,msgDest,msgEnt){ |
Re: Error: Must be a constant expression // help please
You said in your other thread that you already have a plugin that does this and that you only need to move the rank names to a file. So, you have implied that you already have a plugin that works. In this case, you merely need to add reading a file into an array of strings and then replacing the hard coded rank names with the array indexed appropriately.
If this is not the case, you need to be much more clear when you post for help. |
Re: Error: Must be a constant expression // help please
I gave up, I can't do this alone, so I would like just to make a prefix in chat that if X person has got 1000 frags it shows "Macho" as a prefix in say, just that.
Cheers @@ Ok, I found that on polish forum, if someone ever will need that, here is the code for it. Cheers Code:
public handleSayText(msgId,msgDest,msgEnt){ |
| All times are GMT -4. The time now is 20:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.