05.10.2013, 15:06
You can use CreateDynamicSphere. (You'll need Incognito's streamer plugin.)
pawn Код:
new explosionarea;
public OnGameModeInit() {
explosionarea = CreateDynamicSphere(explosion x, explosion y, explosion z, 10.0);
return 1;
}
public OnPlayerEnterDynamicArea(playerid, areaid) {
if(areaid == explosionarea) {
// things & stuff
CreateExplosion(explosion x, explosion y, explosion z, type, radius);
}
return 1;
}