Set Grapics Command!

Started by Jutt, Oct 01, 2021, 10:01 AM

Previous topic - Next topic

Jutt

   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();
}
}
Jutt

cowboy

Quote from: Jutt on Oct 01, 2021, 10:01 AMelse 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

Viva la VU
VFS Developer
VCCNR Administrator

Xmair


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

https://nwc.vcmp.net
NWC Developer
Hunter DM Developer
XE | European Moderator

Mohamed Boubekri

| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

Gito Baloch

Programming is the language I speak, the world I shape, and the future I code

Jutt

Jutt

Xmair

Quote from: Jutt on Oct 05, 2021, 05:33 PMkhud banai hai -- translated: made it myself
No offense but it clearly shows lmao

Credits to Boystang!

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

NicusorN5

He wrote code that works on his machine but not ours. ShAmE

Halilibow

dude what is this┬┐?
Tokta Gamer

Phantom

bro just took a random heal command and renamed it to grapics cmd XD