View Single Post
  #2  
Old 04-09-2011, 05:44 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
try this, just a quick thought script, haven't tested.
PHP Code:
function onCreated()
{

  
this.admins = { "Owner""Events Team""LAT"};

}

function 
onActionServerside()
{

  if ( 
params0] == "stealth")
  {

    
player.clientr.stealthMode = !player.clientr.stealthMode;

    for ( 
temp.allplayers)
      
temp.p.triggerclient"gui"this.name"stealth"player.index,  player.clientr.stealthMode, ( temp.p.guild in this.admins));

  }
}

//#CLIENTSIDE

function onCreated()
{

  
this.canUse = { "Owner" ,"LAT"}; 

}

function 
onKeyPressedtemp.codetemp.keytemp.scancode)
{

  if ( 
temp.key == "5" && player.guild in this.canUse)
    
triggerserver"gui"this.name"stealth");

}

function 
onActionClientside()
{
  
  if ( 
params0] == "stealth")
    
playersparams1]].alpha float( !params3]? params2]: (  params2]? 0.751));


__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote