super big explosion
#1

Hey guys.

How can I make a superbig explosion of this?

public FirecrackerTime(playerid)
{
if(firecrackertime[playerid] == 1)
{
new Float:X, Float:Y,Float:Z;
GetObjectPos(Firecracker[playerid], X, Y, Z);
CreateExplosion(X,Y,Z, 12, 1000);
DestroyObject(Firecracker[playerid]);
firecrackertime[playerid] = 0;
return 1;
}
return 1;
}
Reply
#2

Just change the type of explosion:

pawn Код:
CreateObject(X,Y,Z, 6, 1000);
https://sampwiki.blast.hk/wiki/Explosion_List

You picked type 12 and thats very small

Reply
#3

Can't I make it much bigger? I want a supah big explosion :P
Reply
#4

Quote:
Originally Posted by bartje01
Can't I make it much bigger? I want a supah big explosion :P
Use explosion 7.

try to listen to <Krys> next time.
Reply
#5

always great seeing ppl using my work :P
Reply
#6

Thanks. But I want to have it really massive. Really really realllllyyyyy massive.


And yes notime:P Your firework script is just the best I saw
Reply
#7

Quote:
Originally Posted by bartje01
Thanks. But I want to have it really massive. Really really realllllyyyyy massive.


And yes notime:P Your firework script is just the best I saw
Well if you want it amazingly super duper really fuper muper super duper massive, then u should use explosion 7, but then not 1 explosion, but around 4 or 8 or something

try something like this:

Код:
CreateExplosion(X,Y,Z, 7, 100);
CreateExplosion(X+3,Y,Z, 12, 1000);
CreateExplosion(X-3,Y,Z, 12, 1000);
CreateExplosion(X+3,Y+3,Z, 12, 1000);
CreateExplosion(X+3,Y-1,Z, 12, 1000);
CreateExplosion(X-3,Y+3,Z, 12, 1000);
CreateExplosion(X-3,Y-3,Z, 12, 1000);
Reply
#8

Yaaay. Thanks Notime. Now I have a super Iligal firecracker xD
Reply
#9

Quote:
Originally Posted by bartje01
Yaaay. Thanks Notime. Now I have a super Iligal firecracker xD
Good :P
Reply
#10

Quote:
Originally Posted by Notime
Quote:
Originally Posted by bartje01
Yaaay. Thanks Notime. Now I have a super Iligal firecracker xD
Good :P
One question. Why don't I have time to run away xD It is like /lightfw firecracker BOOM
xD

Код:
	}
	if(strcmp("firecracker", params, true, 8) == 0)
	{
	  if(firecrackertime[playerid] == 0)
	  {
	    new Float:X, Float:Y,Float:Z;
	    firecrackertime[playerid] = 1;
		  new string[128];
			new sendername[MAX_PLAYER_NAME];
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, sizeof(string), "<> %s throws away a firecracker.", sendername);
			ProxDetector(15.0, playerid, string, WHITE,WHITE,WHITE,WHITE,WHITE);
			GetPlayerPos(playerid,X,Y,Z);
			GetXYInFrontOfPlayer(playerid, X,Y, 8);
			Firecracker[playerid] = CreateObject(1672, X,Y,(Z-0.9), 0, 0, 0);
			CreateExplosion(X,Y,Z, 7, 100);
			CreateExplosion(X+3,Y,Z, 7, 100);
			CreateExplosion(X-3,Y,Z, 7, 100);
			CreateExplosion(X+3,Y+3,Z, 7, 100);
			CreateExplosion(X+3,Y-1,Z, 7, 100);
			CreateExplosion(X-3,Y+3,Z, 7, 100);
			CreateExplosion(X-3,Y-3,Z, 7, 100);
			SetTimerEx("FirecrackerTime", 10000, 7, "i", playerid);
			return 1;
		}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)