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



bug bombs - s3ek - 05.08.2015

after explode bombs... objects not deleted its a bug




Re: bug bombs - cnoopers - 05.08.2015

do u use DestroyObject for ALL object?


Re: bug bombs - s3ek - 05.08.2015

i use in public OnPlayerDisconnect
Quote:

if(BombenObject[playerid] != -1) DestroyObject(BombenObject[playerid]);

but not work


Re: bug bombs - cnoopers - 05.08.2015

it is gonna work only for latest created bomb. use max_objects or max_bombs or whatever u define maximum amount of bombs, then use loop to destroy them all.