21-10-2008, 03:13 PM
Sonire Wrote:Well, you don't exactly need the select case, I was just saying that's how I would do it.Ohhh, I see. Sounds good. Thanks. I'll try it out.
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.
