Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text errors
#3
Perfekt Wrote:Add a variable to the player's account, we'll call it "isvip".

Save it as a byte, etc, etc.

Then do a check, when a player sends a message with the * in front of it (server side, obviously) and if the isvip is 1, send the message. If it's 0, cut the * off the message and send it to the map.

That covers the chatting aspect of the vip stuff. When you wanna add more vip stuff, you simply could check if they are vip first and if so, commence the code. Big Grin


Wait. How the hell do I edit a characters file? They're saved as .bin's in MS4, and when I change the extension to .ini it's just distorted code. I see what you mean, now. And I understand it. I just need to know how to edit an account.

Thanks for the help though. I didn't really think that over.


EDIT: Okay, so when I type the * and the message, all it does is it displays the Admin message color, as it shouldn't. And before the message it says (admin Admin)... HALP PLZ
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)