Small suggestion
#1

CreatePlayerExplosion
CreateExplosion - is bugged if you use virtual worlds for players
Reply
#2

Quote:
Originally Posted by SPAWN_METAL
Посмотреть сообщение
CreatePlayerExplosion
CreateExplosion - is bugged if you use virtual worlds for players
https://sampwiki.blast.hk/wiki/CreateExplosion

Quote:

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

I'm guessing this is not something easy to fix.
Reply
#3

Quote:

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

it's a result not a reason!
Reply
#4

Quote:
Originally Posted by gtaplayer1
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreateExplosion



I'm guessing this is not something easy to fix.
There's a plugin that allows you to create explosions for a player only, so I think it isn't too hard to fix.
Reply
#5

It's quite easy to make player-only explosions.

CreatePlayerObject for the visual effect.
PlayerPlaySound(?) for the explosion sound.
SetPlayerVelocity for blowing them away.
GetPlayerDistanceFromPoint + SetPlayerHealth for damage.

But yeah, it'd be nice if it was native. Must be pretty easy to do.
Reply
#6

Quote:
Originally Posted by MP2
Посмотреть сообщение
It's quite easy to make player-only explosions.

CreatePlayerObject for the visual effect.
PlayerPlaySound(?) for the explosion sound.
SetPlayerVelocity for blowing them away.
GetPlayerDistanceFromPoint + SetPlayerHealth for damage.

But yeah, it'd be nice if it was native. Must be pretty easy to do.
They're not full explosions yet, unfortunately. The black shade on the ground and the shaky camera can't be scripted separately.
Reply
#7

Suggestions belong in the suggestions thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)