Small suggestion - 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: Small suggestion (
/showthread.php?tid=492454)
Small suggestion -
][Noname][ - 03.02.2014
CreatePlayerExplosion
CreateExplosion - is bugged if you use virtual worlds for players
Re: Small suggestion -
gtaplayer1 - 03.02.2014
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.
Re: Small suggestion -
][Noname][ - 04.02.2014
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!
Re: Small suggestion -
RaZVaN ^ xD - 04.02.2014
Quote:
Originally Posted by gtaplayer1
|
There's a plugin that allows you to create explosions for a player only, so I think it isn't too hard to fix.
Re: Small suggestion -
MP2 - 04.02.2014
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.
Re: Small suggestion -
Basssiiie - 04.02.2014
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.
Re: Small suggestion -
dugi - 04.02.2014
Suggestions belong in the suggestions thread.