| Mirage Source http://miragesource.net/forums/ |
|
| Player Name Variable http://miragesource.net/forums/viewtopic.php?f=201&t=4773 |
Page 1 of 1 |
| Author: | Poyzin [ Sat Nov 22, 2008 2:14 pm ] |
| Post subject: | Player Name Variable |
What is the playername variable? For like msg boxes and stuff so it says like. Msgbox PLAYERNAME has died. etc. (as an example) |
|
| Author: | Rory [ Sat Nov 22, 2008 2:17 pm ] |
| Post subject: | Re: Player Name Variable |
Player(Index).Name? |
|
| Author: | Poyzin [ Sat Nov 22, 2008 2:22 pm ] |
| Post subject: | Re: Player Name Variable |
Meh. Not Working.. |
|
| Author: | Rory [ Sat Nov 22, 2008 2:37 pm ] |
| Post subject: | Re: Player Name Variable |
GetPlayerName? |
|
| Author: | Poyzin [ Sat Nov 22, 2008 2:51 pm ] |
| Post subject: | Re: Player Name Variable |
("& GetPlayerName & died.") Am I doing the format right for the variable? Or is it like (& GetPlayerName &" died.") Or something. because I forget how its done. I know those 2 variables should work. |
|
| Author: | Rory [ Sat Nov 22, 2008 2:55 pm ] |
| Post subject: | Re: Player Name Variable |
(GetPlayerName & " died.") I think. I'm not a coder. |
|
| Author: | Poyzin [ Sat Nov 22, 2008 3:14 pm ] |
| Post subject: | Re: Player Name Variable |
Waaah. It's not working. Lol |
|
| Author: | Rory [ Sat Nov 22, 2008 3:28 pm ] |
| Post subject: | Re: Player Name Variable |
Can you post the code snippet you're trying to get to work? |
|
| Author: | Poyzin [ Sat Nov 22, 2008 3:45 pm ] |
| Post subject: | Re: Player Name Variable |
Well I'm doing an auto emote thing. After my /help and stuff. I put this. Code: Case "/laugh" Call AddText("JohnDoe laughs.", EmoteColor) Now, it works like that, but replacing JohnDoe with a playername variable is what I need done. |
|
| Author: | Rian [ Sat Nov 22, 2008 4:21 pm ] |
| Post subject: | Re: Player Name Variable |
GetPlayerName(Index) or GetPlayerName(MyIndex) |
|
| Author: | William [ Sat Nov 22, 2008 6:32 pm ] |
| Post subject: | Re: Player Name Variable |
Rian wrote: GetPlayerName(Index) or GetPlayerName(MyIndex) index for server myindex for client |
|
| Author: | Poyzin [ Sat Nov 22, 2008 8:18 pm ] |
| Post subject: | Re: Player Name Variable |
Thank you William!!! All fixed. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|