SA-MP Forums Archive
I want to show the created explosion to all the players in the server. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I want to show the created explosion to all the players in the server. (/showthread.php?tid=367220)



I want to show the created explosion to all the players in the server. - bhuvanesh - 09.08.2012

Hey guys,
How do I show the created explosion to all the players on the server?

Thanks for reading.

Regards,
Bhuvanesh


Re: I want to show the created explosion to all the players in the server. - Magic_Time - 09.08.2012

What do you mean?


Re: I want to show the created explosion to all the players in the server. - [KHK]Khalid - 09.08.2012

They are already being shown to all players (in the range of the explosion).

Quote:
Originally Posted by Wiki
Important Note: Explosions are shown to all players, in all interiors and virtual worlds. There is currently no getting around this.



Re: I want to show the created explosion to all the players in the server. - bhuvanesh - 09.08.2012

I only here the sound of explosion but I dont see the explosion.


Re: I want to show the created explosion to all the players in the server. - [GO]Hardstyle - 09.08.2012

Post your code.

We can't see what's wrong with your script.


Re: I want to show the created explosion to all the players in the server. - [KHK]Khalid - 09.08.2012

Hmm. You might be using one of the invisible explosion types (8, 9, 13 are invisible). Have a look on this page to know more about explosion types.


Re: I want to show the created explosion to all the players in the server. - bhuvanesh - 09.08.2012

CreateExplosion(209.4344,1856.0006,20.3785,2,20.0) ;


Re: I want to show the created explosion to all the players in the server. - [GO]Hardstyle - 09.08.2012

Look at Explosion list

Post your code.

In what moment you want to show the explosion?


Re: I want to show the created explosion to all the players in the server. - XStormiest - 09.08.2012

lol type 20 is not the type of explosion is the rradius... try another type like 3 or watch in the list for your favorite, radius = range of explosion


Re: I want to show the created explosion to all the players in the server. - [GO]Hardstyle - 09.08.2012

Quote:
Originally Posted by XStormiest
Посмотреть сообщение
lol type 20 is not the type of explosion is the rradius... try another type like 3 or watch in the list for your favorite, radius = range of explosion
His code is good:

Код:
(Float:X, Float:Y, Float:Z, type, Float:radius)
pawn Код:
CreateExplosion(209.4344,1856.0006,20.3785,2,20.0) ;
Type of explosion: 2,
Radius: 20.0