22-10-2008, 04:47 AM
n = FindPlayer(Parse(1))
SetPlayerName(n, Parse(2))
Client:
SendData(whatever & sep_char & Command(1) & sep_char & Command(2) & end_char)
/setname Giaken Giakenn
There's a lot more checks you should do though. Like making sure Command 1 and 2 aren't the same and so on. EXPERIMENT WITH IT!
SetPlayerName(n, Parse(2))
Client:
SendData(whatever & sep_char & Command(1) & sep_char & Command(2) & end_char)
/setname Giaken Giakenn
There's a lot more checks you should do though. Like making sure Command 1 and 2 aren't the same and so on. EXPERIMENT WITH IT!