// Under OnGameModeinit SetTimer("a1",1000,1); SetTimer("a2",1000,1); SetTimer("a3",1000,1); SetTimer("a4",1000,1); SetTimer("a5",1000,1); SetTimer("a6",1000,1); AddStaticPickup(1318,2,-1812.5938,801.5204,120.0505); AddStaticPickup(1318,2,-1812.8379,781.5574,120.1083); AddStaticPickup(1318,2,-1834.2458,801.0223,113.2891); AddStaticPickup(1318,2,-1834.4847,776.1333,113.2891); AddStaticPickup(1318,2,-1885.2322,775.2031,93.8944); AddStaticPickup(1318,2,-1868.2063,775.9239,113.2891); // Admin Vehicles, put them right under OnGameModeInit OR above all other cars! // Admin vehicle's AddStaticVehicle(425,-1860.6005,805.9172,112.2438,134.4587,72,39); // hunter AddStaticVehicle(520,-1822.3699,816.9287,127.2909,178.8598,72,39); // hydra AddStaticVehicle(520,-1821.5688,768.9156,132.0226,359.0703,72,39); // hydra AddStaticVehicle(522,-1883.4432,746.6257,107.5019,271.0947,72,39); // nrg AddStaticVehicle(522,-1883.2527,751.3853,107.5019,267.5005,72,39); // nrg AddStaticVehicle(522,-1881.9518,756.8226,107.5020,270.7979,72,39); // nrg AddStaticVehicle(522,-1813.1523,753.8706,106.9080,179.3349,72,39); // nrg AddStaticVehicle(522,-1820.4021,754.6829,106.9080,180.6741,72,39); // nrg AddStaticVehicle(522,-1828.2137,753.1402,106.9074,177.1095,72,39); // nrg AddStaticVehicle(409,-1892.3981,781.9551,41.1000,180.7909,3,3); // limo AddStaticVehicle(409,-1892.2180,769.5189,43.3496,181.1439,3,3); // limo // Public Functions add them between 2 publics and its all good public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z){ new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); tempposx = (oldposx -x); tempposy = (oldposy -y); tempposz = (oldposz -z); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))){ return 1; } return 0; } public a1(){ for(new i=0; i