Author Topic: New Rob bank Command  (Read 17455 times)

0 Members and 1 Guest are viewing this topic.

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
New Rob bank Command
« on: December 19, 2012, 07:03:23 pm »

[pawn]new Maletin[MAX_PLAYERS];[/pawn]

[pawn]Put this in the public OnPlayerDisconnect(playerid, reason)

Maletin[playerid] = 0;

Put this in public OnPlayerSpawn(playerid,classid,teamid)
Maletin[playerid] = 0;[/pawn]

[pawn]
                  else if (strcmp(cmd, "robbank", true) == 0) {
{
           tmp = strtok(cmdtext, idx);
new szMsg[256], plr;

      if(Maletin[playerid] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"You've robbed the bank! You can not steal it again!");
}
else if(!NeedPlayerInArea(playerid,-945.0223,-938.2779,-346.0285,-341.7365)) SendClientMessage(playerid, GREEN,"[Error] - You must be in the bank vault to steal it!");
else {
    GameTextForPlayerBottom(playerid,"~y~ >>>>");
    TogglePlayerControllable(playerid,0);
   SetTimer("roboenprogreso", 9000, false);
    SendClientMessage(playerid, COLOR_YELLOW,"Right now you're robbing the bank");
   IncPlayerHandCash(playerid,400);
    SetWantedLevel(playerid,6);
         format( szMsg, sizeof( szMsg ), "%s is robbing the bank, the police has been informed", gPlayers[ playerid ], gPlayers[ plr ], cmdtext[ strlen( tmp ) +8 ] );
         SendClientMessageToAll( COLOR_YELLOW, szMsg );
    SetPlayerMarker(playerid,15);
   SetPlayerSkin(playerid,0);
   SetPlayerSkin(playerid,129);
   ToggleGreenScanlinesForPlayer(playerid,1);
   ToggleWidescreenForPlayer(playerid,1);
   Maletin[playerid] = 1;
      }
  }

      return 1;
   }
[/pawn]

Public and stock

[pawn]//==============================================================================
stock NeedPlayerInArea(playerid,Float:MinX,Float:MaxX,Float:MinY,Float:MaxY)
{
      new Float:x,Float:y,Float:z;
       GetPlayerPos(playerid, x, y, z);
       if(x >= MinX && x <= MaxX && y >= MinY && y <= MaxY) return 1;
       else return 0;
      return 1;
}
//==============================================================================
public roboenprogreso() {
    for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i)) {
       if(Maletin == 1) {
           SendClientMessage(i,COLOR_YELLOW,"You have been seen by security cameras, Escape immediately!");
           TogglePlayerControllable(i,1);
           ToggleGreenScanlinesForPlayer(i,0);
           ToggleWidescreenForPlayer(i,0);
      }
  }
      }
}
//==============================================================================
[/pawn]


Photos






You can not rob the bank two times in a row unless you die or disconnect



Do you like this command??

« Last Edit: December 20, 2012, 10:47:03 pm by aledark24 »
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: New Rob bank Command
« Reply #1 on: December 19, 2012, 08:34:39 pm »
Nice Work
can you tell me how to use it in gups please
great work
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: New Rob bank Command
« Reply #2 on: December 19, 2012, 09:24:40 pm »
Your English is poor but it's nice script  ;)

to rob (what?) bank
to steal (what thing?) money
« Last Edit: December 19, 2012, 09:30:20 pm by NeskWriter »


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: New Rob bank Command
« Reply #3 on: December 19, 2012, 09:58:02 pm »
to rob (what?) bank

Code: [Select]
Topic: New Rob bank Command
No , to rob Santa Claus.

to steal (what thing?) money

No , you rob a bank for candies.

*facepalm*

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: New Rob bank Command
« Reply #4 on: December 20, 2012, 12:54:21 am »
Very funny neskwriter and sseebbyy
my english is poor
is the right.word but you spanish.is very good?  I dont think.so
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: New Rob bank Command
« Reply #5 on: December 20, 2012, 12:57:21 am »
[pawn]for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i)) {[/pawn]

Controllable for all players in server?  ???

longer  and to all players online, when someone  is arrested it will release  him?

 ??? ??? ??? ??? ??? ???


Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: New Rob bank Command
« Reply #6 on: December 20, 2012, 12:57:54 am »
Nice Work
can you tell me how to use it in gups please
great work
only copy all in the right place  :o
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: New Rob bank Command
« Reply #7 on: December 20, 2012, 01:06:33 am »
[pawn]for(new i = 0; i < MAX_PLAYERS; i++) {
        if(IsPlayerConnected(i)) {[/pawn]

Controllable for all players in server?  ???

longer  and to all players online, when someone  is arrested it will release  him?

 ??? ??? ??? ??? ??? ???
matheus lee bien if maletin = 1
Only if you rob the bank and have maletin
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: New Rob bank Command
« Reply #8 on: December 20, 2012, 02:03:39 am »
Very funny neskwriter and sseebbyy
my english is poor
is the right.word but you spanish.is very good?  I dont think.so

My reply is dedicated only for NeskWriter .

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: New Rob bank Command
« Reply #9 on: December 20, 2012, 01:52:28 pm »
man i have tries in gups but they says some lines are missing please give me the
getplayercash line
and wantedlevel line
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: New Rob bank Command
« Reply #10 on: December 20, 2012, 03:03:16 pm »
man i have tries in gups but they says some lines are missing please give me the
getplayercash line
and wantedlevel line
showme the errors
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline BadCivil

  • Street Thug
  • *
  • Posts: 22
  • VCMP,SAMP - Mapper - Scripter
    • View Profile
    • [HuN].:Magyar Xmas Freeroam:.Szerver
Re: New Rob bank Command
« Reply #11 on: December 20, 2012, 03:09:49 pm »
Nice work i like. 4/5
Hy all!

My web is:www.mxmasfreeroam.atw.hu Please register! :)
My YouTube account:http://www.youtube.com/user/BlackScripter1999?feature=mhee Please Subscribe! :)

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: New Rob bank Command
« Reply #12 on: December 20, 2012, 05:02:19 pm »
good idea for bomb pickup :P :D:D:D nice work :D

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: New Rob bank Command
« Reply #13 on: December 20, 2012, 07:48:25 pm »
Aledark u r very funny guy :DDD
What perspective in learning your Spanish?
English is spoken by men around the world, when can't find info about Spanish in wiki...

I laugh a lot of time :D


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: New Rob bank Command
« Reply #14 on: December 20, 2012, 07:50:18 pm »
to rob (what?) bank

Code: [Select]
Topic: New Rob bank Command
No , to rob Santa Claus.

to steal (what thing?) money

No , you rob a bank for candies.

*facepalm*

damn, dude. I'm just trying to be the good teacher of English


-Funniest quotes-

Quote from: asad3man
i cant able to understand