Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Warn system
#11
Sonire Wrote:Well, you don't exactly need the select case, I was just saying that's how I would do it.

Pseudo Code
Code:
Client side:

Text Command:
/WarnPlayer
Packet = "WARN" & SEP_CHAR & END_CHAR
Call SendData(Packet)

Server Side:

If LCase(Parse(0)) = "warn" Then

Select Case


So basically, I was talking about placing the Select Case in the server side packet that handles warning a player.
Ohhh, I see. Sounds good. Thanks. I'll try it out. Smile
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)