Author Topic: End Of The VCMP CMD BY ME EXPLODE = FUNCTION = SAN ANDREAS COPY  (Read 4125 times)

0 Members and 4 Guests are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
!explode New Function I Am Trying To Make Like San Andrease
[pawn]                     else if (strcmp(cmd, "!explode", true) == 0)
{
    new i;
    for( i = 1; i < 200; i++ )
    {
        SetVehicleHealth( i, 0.0 );
    }

    SendClientMessageToAll(GREEN, " WORLD IS EXPLODING RUN FOR YOUR LIFES ");
    return 1;
}
[/pawn]

56 % Credits To Stormeus
44 % Credits To Me
« Last Edit: March 13, 2014, 01:54:29 pm by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: End Of The VCMP CMD BY ME EXPLODE = FUNCTION = SAN ANDREAS COPY
« Reply #1 on: April 03, 2013, 11:26:17 am »
Are you Kidding Me  ??? ? It Takes Many Lines  ???
[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: End Of The VCMP CMD BY ME EXPLODE = FUNCTION = SAN ANDREAS COPY
« Reply #2 on: April 03, 2013, 12:05:07 pm »
Are you Kidding Me  ??? ? It Takes Many Lines  ???

A for loop would probably be handy here.
[pawn]
else if (strcmp(cmd, "!explode", true) == 0)
{
    new i;
    for( i = 1; i < 170; i++ )
    {
        SetVehicleHealth( i, 0.0 );
    }

    SendClientMessageToAll(GREEN, " WORLD IS EXPLODING RUN FOR YOUR LIFES ");
    return 1;
}
[/pawn]
Do not PM me for support.




Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: End Of The VCMP CMD BY ME EXPLODE = FUNCTION = SAN ANDREAS COPY
« Reply #3 on: April 03, 2013, 12:32:39 pm »
THANKS FOR THIS YAAAA
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sherwin688

  • Street Thug
  • *
  • Posts: 43
  • dead man wakin
    • View Profile
Re: End Of The VCMP CMD BY ME EXPLODE = FUNCTION = SAN ANDREAS COPY
« Reply #4 on: March 13, 2014, 11:57:14 am »
Nice