| 05-23-2004, 08:35 AM | #1 |
I'm wondering how u set the variable to player's name and how u load it up. Can anyone explain? Thx. |
| 05-23-2004, 10:40 AM | #2 |
I have done this before in my admin system. That means everytime i join a game with my map, i automatically become admin. Pretty cool :) Because everytime i enter i get a welcome message and all my heroes got a special death animation+a special effect over head. What you do is that you make a condition like this: if string playername of(player1) or (player2) or (Player3)-...and so on- equal to string (MaD[Lion]) then do ...(the action you want) - else do ...something... This is the concept of it. |
| 05-23-2004, 01:12 PM | #3 |
I think you missed that he may have been doing it for the save+load code. In that case, just use one of the letters (or the first and last letter) for his name. Putting a big name in the code would make the code much longer, not to mention how easy it would be to spot (considering you didnt use any encryption on it) |
