Author Topic: [BROKEN] Now Can Rob A Vehicle Money And HP  (Read 5755 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
[BROKEN] Now Can Rob A Vehicle Money And HP
« on: March 21, 2013, 07:13:28 am »
[pawn]new Robbed[MAX_VEHICLES];[/pawn]

now cmd
[pawn]                     else if ( strcmp( cmd, "rob", true ) == 0 )
   {
if ( !IsLoggedIn( playerid ) ) SendClientMessage( playerid, COLOR_RED, "Please log-in to your account." );
else   if(Robbed[vehicleid] == 1) SendClientMessage(playerid,RED," You Cant Steal It Again ");
else if(!IsPlayerInAnyVehicle(playerid)) MessagePM(playerid, GREEN,"[Error] - Need to be inside a vehicle");   
else
{
IncPlayerCash(playerid,1000);
Robbed[vehicleid] = 1;
SendClientMessageToAll(RED," A Vehicle Has Been Robbed By RObbers");
SetVehicleHealth(vehicleid, 500);
SetVehicleTyre(vehicleid,0);
SetVehicleAlarm(vehicleid,1);
SetVehicleLights(vehicleid,1);
    }
      return 1;
   }[/pawn]

now you can rob car cash and hp
« Last Edit: March 22, 2013, 12:59:02 am by stormeus »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline Doom

  • Made Man
  • ***
  • Posts: 105
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #1 on: March 21, 2013, 09:19:11 am »
Here we go again.......

why do you always have to copy others?

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #2 on: March 21, 2013, 10:34:09 am »
You Have A Problem

This Is Help To Rob vehicle To Player :P
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline VC[88]PD

  • Wiseguy
  • **
  • Posts: 52
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #3 on: March 21, 2013, 11:47:40 am »
it must have errors such as that vehicleid

Pain

  • Guest
Re: Now Can Rob A Vehicle Money And HP
« Reply #4 on: March 21, 2013, 02:00:57 pm »
too many errors

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #5 on: March 21, 2013, 03:00:28 pm »
[pawn]
now you can rob car cash and hp

Quote
mrockxkingbutt has successfully stole the valet of the vehicle.
vehicle says: Oh shit! Who stole ma' money?


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: Now Can Rob A Vehicle Money And HP
« Reply #6 on: March 21, 2013, 03:34:54 pm »
Hahaha stole money in the car =)
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Now Can Rob A Vehicle Money And HP
« Reply #7 on: March 21, 2013, 04:09:43 pm »
Where is the "vehicleid" defined ?  :-X

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 Doom

  • Made Man
  • ***
  • Posts: 105
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #8 on: March 21, 2013, 04:24:44 pm »
Where is the "vehicleid" defined ?  :-X

When you are not in the mood of posting but you still do it that happens  :-\

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #9 on: March 21, 2013, 04:35:10 pm »
new Robbed[MAX_VEHICLES];
is work as new robbed[MAX_PLAYERS]
this define vehicleid or playerid
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: Now Can Rob A Vehicle Money And HP
« Reply #10 on: March 21, 2013, 06:27:44 pm »
new Robbed[MAX_VEHICLES];
is work as new robbed[MAX_PLAYERS]
this define vehicleid or playerid

another command failed....

nice try....
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: Now Can Rob A Vehicle Money And HP
« Reply #11 on: March 22, 2013, 12:58:44 am »
Nonfunctional code. Locked.
Do not PM me for support.