Set Grapics Command!

Jutt

  • Newbie
  • Posts: 12
Set Grapics Command!
«  »
   else if( cmd == "setgrapic" )
{
      if ( stats[ player.ID ].Reg == false ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]You're not registered.", player );
else if ( stats[ player.ID ].Log == false ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]You Are Not Logged", player );
{
      if( !text )
      MessagePlayer("[#E0E0E0]Code /setgrapic <full/half>", player);
      local params = split( text, "[#95fcff] INFO > [#E0E0E0]Your health have been set" );
      if( params.len() < 1 ) MessagePlayer("[#95fcff]WARN > [#E0E0E0]Unkown value", player);
      else if( !IsNum( params[1] ) ) return MessagePlayer("[#95fcff]WARN > [#E0E0E0]Wrong Grapics .", player);
      else if( params[1].tointeger() > 1000 || params[1].tointeger() < 0 ) return", player);
      else if (set.=grapics:610+green+41 . sunlight,effect[50];
      local plr = IsNum( params[0] ) ? FindPlayer( params[0].tointeger() ) : FindPlayer( params[0] );
      if( !plr ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]Unkown Effects.", player );
      else plr.Health = params[1].tointeger();
}
}

cowboy

  • Newbie
  • Posts: 7
Re: Set Grapics Command!
« Reply #1,  »
Quote from Jutt on October 1st, 11:01 AM
else if( cmd == "setgrapic" )
{
      if ( stats[ player.ID ].Reg == false ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]You're not registered.", player );
else if ( stats[ player.ID ].Log == false ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]You Are Not Logged", player );
{
      if( !text )
      MessagePlayer("[#E0E0E0]Code /setgrapic <full/half>", player);
      local params = split( text, "[#95fcff] INFO > [#E0E0E0]Your health have been set" );
      if( params.len() < 1 ) MessagePlayer("[#95fcff]WARN > [#E0E0E0]Unkown value", player);
      else if( !IsNum( params[1] ) ) return MessagePlayer("[#95fcff]WARN > [#E0E0E0]Wrong Grapics .", player);
      else if( params[1].tointeger() > 1000 || params[1].tointeger() < 0 ) return", player);
      else if (set.=grapics:610+green+41 . sunlight,effect[50];
      local plr = IsNum( params[0] ) ? FindPlayer( params[0].tointeger() ) : FindPlayer( params[0] );
      if( !plr ) return MessagePlayer( "[#95fcff]WARN > [#E0E0E0]Unkown Effects.", player );
      else plr.Health = params[1].tointeger();
}
}
whatt?

Inferno

  • Jr. Member
  • Posts: 96
Viva la VU
VFS Developer
VCCNR Administrator

Xmair

  • Wiki Contributor
  • Posts: 953

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Emi

  • Newbie
  • Posts: 4

Mohamed Boubekri

  • Sr. Member
  • In-Game Name:- We3da^
  • Posts: 265
After all this pain, peace will come brother.

Gito Baloch

  • Full Member
  • Posts: 144

Jutt

  • Newbie
  • Posts: 12

Xmair

  • Wiki Contributor
  • Posts: 953

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Athanatos

  • Hero Member
  • Throwing random words to increase my post counter
  • Posts: 1,019
Re: Set Grapics Command!
« Reply #9,  »
He wrote code that works on his machine but not ours. ShAmE
Developer of RCNR, Zombie Survival, VLSM(C++) and Infected City Survival

Halilibow

  • Newbie
  • Are you ready to hit the road with the M4?
  • Posts: 3
Tokta Gamer