Thread: Clientr.PROBLEM
View Single Post
  #26  
Old 10-11-2007, 01:32 AM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by TalonShriner View Post
I tried to put in that script that coreys suggested:
PHP Code:
function onActionPlayerOnline() {
  if (
clientr.mud_nation == NULL)
    
clientr.mud_nation "Nuetral";

But my NPC server already had the ActionPlayerOnline function and a bunch of other scripts under it. So what I did was take out the "function onActionPlayerOnline() {" part from coreys code and stuck in the rest, but I couldn't get it to work. Any suggestions?
Add this some where in your onActionPlayerOnline() function (prefferably at the bottom, since there's a chance you have a script in it that removes/loads your clients strings.. or.. something..):

PHP Code:
 if (clientr.mud_nation == NULLclientr.mud_nation "Neutral"
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote