13.09.2011, 19:59
The script will destroy some road objects (traffic lights, poles, lanterns, fountains).
Timer: 10 seconds
Radius: 300 meter
Source:
Author - Soup_Mc a.k.a SeeeCa
PS - Sorry for my bad english, i'm from Russia.
Timer: 10 seconds
Radius: 300 meter
Source:
Код:
#include <a_samp> #define local new local objects[] = {1211,1223,1226,1231,1232,1283,1284,1290,1294,1295,1296,1297,1298,1315,1350,1351,1352,1366,1568,3460,3463,3516,3853,3855}; public OnFilterScriptInit() { SetTimer("DestroyBadObjects", 10000, 1); return 1; } forward DestroyBadObjects(); public DestroyBadObjects() { for(new i=0; i<MAX_PLAYERS; i++) { for(local ob=0; ob<sizeof(objects);ob++) { local Float:px,Float:py,Float:pz; GetPlayerPos(i, px, py, pz); RemoveBuildingForPlayer(i, objects[ob], px, py, pz, 300.0); } } return 1; }
PS - Sorry for my bad english, i'm from Russia.