Poll

Is it working?

Yes
1 (25%)
No
3 (75%)

Total Members Voted: 4

Author Topic: IMPROVED BRB SYSTEM [By Rathore(me)] [TESTED on my server]  (Read 8560 times)

0 Members and 1 Guest are viewing this topic.

Offline rathore

  • Street Thug
  • *
  • Posts: 42
  • I am a scripter and still trying to be best
    • View Profile
    • Ultimate gamier
IMPROVED BRB SYSTEM [By Rathore(me)] [TESTED on my server]
« 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]
« Last Edit: March 13, 2014, 04:05:52 am by rathore »



Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
« Reply #1 on: January 11, 2014, 07:30:02 pm »
LOOOOL
Code: [Select]
SetPlayerHealth( playerid, 99999999); Don't Work  ;D

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
« Reply #2 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


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline rathore

  • Street Thug
  • *
  • Posts: 42
  • I am a scripter and still trying to be best
    • View Profile
    • Ultimate gamier
Re: ADVANCE BRB SYSTEM [By aledark24 & Rathore(me)] [TESTED]
« Reply #3 on: January 13, 2014, 01:49:52 pm »
NOW Check it... it is working for me



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #4 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


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #5 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

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #6 on: January 14, 2014, 04:02:51 am »
Rathore Try Edit Button :D ( I Mean Dont Double Post )
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #7 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.


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: [NEW] Duel, Fight, Exit to bank teleport system by me
« Reply #8 on: January 17, 2014, 10:55:44 pm »
Like i said plz stop spamming my scripts.

Stormeus will remove it.
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline Aldo

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #9 on: January 18, 2014, 01:52:19 pm »
Just by looking at the code I can tell you this wont work as intended.

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: [NEW] Duel, Fight, Exit to bank teleport system by me
« Reply #10 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 ?
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #11 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.
Do not PM me for support.




Offline rathore

  • Street Thug
  • *
  • Posts: 42
  • I am a scripter and still trying to be best
    • View Profile
    • Ultimate gamier
Re: ADVANCE BRB SYSTEM [By NeskWriter & Rathore(me)] [TESTED]
« Reply #12 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



Offline rohanaj60

  • Street Thug
  • *
  • Posts: 27
  • I am a great scripter :D
    • View Profile
Re: IMPROVED BRB SYSTEM [By Rathore(me)] [TESTED on my server]
« Reply #13 on: March 20, 2014, 06:50:42 am »
Nice
well done Rathore