View Single Post
  #9  
Old 07-23-2008, 11:48 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
and, when i try to reset players, it resets them every time they login. how do i add a flag to the NPC server?


would this work?
PHP Code:
function onActionPlayerOnline()
{
  
temp.weapons = { "-System/Main""-reconnect" };

  
sendPM("
  Welcome to Final Resort!
  we are under construction!
  please, if you are not here to help,
  come back later, to se if there is updates.
  "
);
   
  for ( 
temp.weapon weapons )
  {
    
player.addweaponweapon );
  }
  
  if(
clientr.reset 0)
  {
    
sendtoRC("/reset" SPC player.account);
    for (
1:allplayers)
    {
      
findplayer.(i).addflag("client.reset = 1");
    }
  }

__________________
I am the devil, I am here to do to devils work.
Reply With Quote