Author Topic: How to set an explosion and area ?  (Read 6739 times)

0 Members and 1 Guest are viewing this topic.

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
How to set an explosion and area ?
« on: July 04, 2013, 10:26:58 am »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: How to set an explosion and area ?
« Reply #1 on: July 04, 2013, 11:36:58 am »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?
Impossible in 0.3z.
[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: How to set an explosion and area ?
« Reply #2 on: July 04, 2013, 01:36:50 pm »
Only the last one is possible, try to experiment with timers or "while" loop


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline dynavolt71

  • Crime Boss
  • ****
  • Posts: 371
    • View Profile
    • My Blog
Re: How to set an explosion and area ?
« Reply #3 on: July 04, 2013, 02:40:29 pm »
Only the last one is possible, try to experiment with timers or "while" loop
:s with cars ?
[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: How to set an explosion and area ?
« Reply #4 on: July 04, 2013, 09:27:55 pm »
Only the last one is possible, try to experiment with timers or "while" loop
:s with cars ?

nah, he asked about creating an area


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Re: How to set an explosion and area ?
« Reply #5 on: July 05, 2013, 09:00:53 am »
Only the last one is possible, try to experiment with timers or "while" loop

What do you mean by "while" loop ?

And the explosion I found it at here, so I asked who can tell me how to use it. At
http://forum.vicecitymultiplayer.com/index.php?topic=5727.30      if you scroll down a little, you will find it
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: How to set an explosion and area ?
« Reply #6 on: July 05, 2013, 01:44:21 pm »
Only the last one is possible, try to experiment with timers or "while" loop

What do you mean by "while" loop ?


The "while" loop is used to pass the function while parameter is equal (or not equal, by your choise) to the specified.
for example:

[pawn]
new a;
while(a < 10)
{
    a++;
}
[/pawn]


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Re: How to set an explosion and area ?
« Reply #7 on: July 06, 2013, 02:53:41 am »
Can you make a more specified example ? and the
a < 10
the ten is what meaning ? and where is the place to put coordinate ? 
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: How to set an explosion and area ?
« Reply #8 on: July 06, 2013, 05:53:35 pm »
Can you make a more specified example ? and the
a < 10
the ten is what meaning ? and where is the place to put coordinate ?

try to search for pawn tutorials and guides

"a" is variable, it's value can be set by numbers (-99999; +99999)
"while(a < 10)" is a condition that pastes the function (functions) while "a < 10" (example)


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline [Akatsuki]Itachi

  • Wiseguy
  • **
  • Posts: 65
  • I am just a normal ???? people.
    • View Profile
    • [Akatsuki]Konoha
Re: How to set an explosion and area ?
« Reply #9 on: July 07, 2013, 02:50:02 am »
i still don't get it  :(
Anybody see my server: [Akatsuki]Konoha are pleased to come in. Why I choose that name? Because it just like in Naruto, got jutsu and mission based on Naruto's story. Sadly, only available for Friday, Saturday and Sunday. More sadly is maybe not available for 3 month starting from Jun.

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: How to set an explosion and area ?
« Reply #10 on: July 14, 2013, 11:28:39 pm »
Explosions are impossible, but you can try to spam cars with health zero. However they need a few seconds to explode.

If you want to check if a player is in an area, you have to use or a timer or the on player move event. The easiest way is to search if the player is in a circular around a point - calculate the distance between player pos and the middle of your area.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: How to set an explosion and area ?
« Reply #11 on: April 03, 2014, 03:18:03 pm »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?

it will be possible to kill a player when in a area you want to kill.

but impossible to explosion.
 but kinda possible

by adding a vehicle underground of area.
and set a timer loop for it destroying again and again to set explosion!
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: How to set an explosion and area ?
« Reply #12 on: April 04, 2014, 01:57:25 am »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?

it will be possible to kill a player when in a area you want to kill.

but impossible to explosion.
 but kinda possible

by adding a vehicle underground of area.
and set a timer loop for it destroying again and again to set explosion!
Nice Bump. It is july
[PAWNO]Fix Error " Failed to set data for "" " - http://forum.vicecitymultiplayer.com/index.php?topic=5743.0



:'(

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: How to set an explosion and area ?
« Reply #13 on: April 04, 2014, 10:29:22 am »
I want the function of explosion for script and how to set an area when somebody come in it will send client message , i want to know the function, who can tell me ?

it will be possible to kill a player when in a area you want to kill.

but impossible to explosion.
 but kinda possible

by adding a vehicle underground of area.
and set a timer loop for it destroying again and again to set explosion!
Nice Bump. It is july
no april. fool
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol