Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: rathore on January 11, 2014, 03:11:31 pm

Title: IMPROVED BRB SYSTEM [By Rathore(me)] [TESTED on my server]
Post by: rathore on January 11, 2014, 03:11:31 pm
I fixed this command admin please check this command is working or not if it is not working then please inform me

add this in onplayer death

[pawn]
if(pInfo[playerid][brb] == 1)
      {
          SetPlayerHealth(killerid,0);
          SendClientMessage(killerid,RED,"[Server] No Killing If Player Is Away");
      }
[/pawn]

add this under the enum piInfo....

[pawn]

new playerisbrb[MAX_PLAYERS];
new Float:Heal; [/pawn]

and just simply add this command in (!) command area....

[pawn]

else if (strcmp(cmd, "brb", true) == 0 )
   {
      if(!playerisbrb[playerid])
      {
       format( szMsg, 128, "%s Will Be Right Back",gPlayers[playerid]);
      SendClientMessageToAll(COLOR_BLUE, szMsg);
               GetPlayerHealth( playerid,Heal);
      SetPlayerHealth( playerid,100);
              TogglePlayerControllable(playerid,0);
      playerisbrb[playerid]=1;
      }
      return 1;


   }
   else if ( strcmp( cmd, "back", true ) == 0 )
   {
      if(!playerisbrb[playerid])
      {
          SendClientMessage(playerid, COLOR_WHITE, "You are not in the BRB

mode.");
      }
      else
      {
       format( szMsg, 128, "%s Is Back On Game!" ,gPlayers[playerid]);
      SendClientMessageToAll(COLOR_BLUE, szMsg);
      SetPlayerHealth( playerid,Heal);
      TogglePlayerControllable(playerid,1);
      playerisbrb[playerid]=0;
      }
      return 1;

   } [/pawn]
Title: Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
Post by: MatheuS on January 11, 2014, 07:30:02 pm
LOOOOL
Code: [Select]
SetPlayerHealth( playerid, 99999999); Don't Work  ;D
Title: Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
Post by: NeskWriter on January 11, 2014, 09:27:51 pm
I am such a popular coder that newbies (Myself I'm newbie too, no shit) are copying me
Title: Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
Post by: rathore on January 13, 2014, 01:49:52 pm
NOW Check it... it is working for me
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: NeskWriter on January 13, 2014, 11:03:46 pm
Sorry NeskWriter i thought !afk command is maked by aledark


 :) :) :) :) :) :)

I dunno what he said but he's probably a liar with experience :D
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: MatheuS on January 14, 2014, 01:04:31 am
Sorry NeskWriter i thought !afk command is maked by aledark


 :) :) :) :) :) :)

I dunno what he said but he's probably a liar with experience :D

LOL  ;D
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: dynavolt71 on January 14, 2014, 04:02:51 am
Rathore Try Edit Button :D ( I Mean Dont Double Post )
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: NeskWriter on January 14, 2014, 10:55:30 pm
ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)]

This is not really code I helped you to write, it is just very similar to mine.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: mrockxkingbutt on January 17, 2014, 10:55:44 pm
Like i said plz stop spamming my scripts.

Stormeus will remove it.
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: Aldo on January 18, 2014, 01:52:19 pm
Just by looking at the code I can tell you this wont work as intended.
Title: Re: [NEW] Duel, Fight, Exit to bank teleport system by me
Post by: dynavolt71 on January 19, 2014, 05:00:41 am
Like i said plz stop spamming my scripts.

Stormeus will remove it.

Nope.

 ;D Kidding man dont take it serious

BTW Will strom remove it ?
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: stormeus on January 19, 2014, 05:28:35 am
Will strom remove it ?

I'll flag it as non-functional and leave it to the author to see why it won't work and fix it.
Title: Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
Post by: rathore on February 02, 2014, 12:59:45 pm
Will strom remove it ?

I'll flag it as non-functional and leave it to the author to see why it won't work and fix it.

Thanks i got the problem i will fix it in few days
Title: Re: IMPROVED BRB SYSTEM [By Rathore(me)] [TESTED on my server]
Post by: rohanaj60 on March 20, 2014, 06:50:42 am
Nice
well done Rathore