SA-MP Forums Archive
createexplosion - 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: createexplosion (/showthread.php?tid=621812)



createexplosion - StR_MaRy - 15.11.2016

hey guys i want to create an explosion and some fire i have the script but i want to ask

is possible to create explosion and fire in another Virtual world ? without having problem in Virtual world 0 ? cause i did it but in virtual world it's showing the explosion and fire and i want only in the world i create them


Re: createexplosion - AbyssMorgan - 15.11.2016

Use:
PHP код:
CreateDynamicExplosion(Float:x,Float:y,Float:z,type,Float:radius,worldid=-1,interiorid=-1,playerid=-1,Float:distance=200.0); 
3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010


Re: createexplosion - Threshold - 15.11.2016

https://sampwiki.blast.hk/wiki/CreateExplosionForPlayer

You could check to see if the player is in virtual world 0, then use CreateExplosionForPlayer.