| Mirage Source http://miragesource.net/forums/ |
|
| /setname http://miragesource.net/forums/viewtopic.php?f=201&t=4607 |
Page 1 of 1 |
| Author: | Nean [ Wed Oct 22, 2008 4:42 am ] |
| Post subject: | /setname |
I'm sure I can do this by myself, I think. Anyways, the only trouble I'm having is figuring out what N should =, I don't think it should be a value, lol. I was thinking of Dimming N as a string, but from then on I'm lost. Any help would be appreciated. SPOILER: (click to show)
|
|
| Author: | GIAKEN [ Wed Oct 22, 2008 4:47 am ] |
| Post subject: | Re: /setname |
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! |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|