07.10.2011, 20:26
my problem is that in my home server runs bone serves as the script but my hosting does not work as program that can help me I hope
Код:
//Sistema bombaedeo Alqaeuda-----// new Andromada; new Misil11; new Misil12; new Misil13; new Misil14; new Misil15; new Misil16; new Misil17; new Misil18; new Misil19; new Misil20; new IsBombing =0; // El Public public explode1() { new Float:a,Float:b,Float:c; new Float:d,Float:e,Float:f; new Float:g,Float:h,Float:i; new Float:j,Float:k,Float:l; new Float:ac,Float:ad,Float:ae; new Float:x,Float:y,Float:z; GetObjectPos(Misil11,x,y,z); new Float:m,Float:n,Float:o; GetObjectPos(Misil12,m,n,o); new Float:p,Float:q,Float:r; GetObjectPos(Misil13,p,q,r); new Float:s,Float:t,Float:u; GetObjectPos(Misil14,s,t,u); new Float:v,Float:w,Float:ab; GetObjectPos(Misil15,v,w,ab); GetObjectPos(Misil16,a,b,c); GetObjectPos(Misil17,d,e,f); GetObjectPos(Misil18,g,h,i); GetObjectPos(Misil19,j,k,l); GetObjectPos(Misil20,ac,ad,ae); CreateExplosion(x,y,z,7,400.0); CreateExplosion(x+random(15),y+random(15),z+random(15),7,600.0); CreateExplosion(m,n,o,7,400.0); CreateExplosion(m+random(3),n+random(15),o+random(15),7,600.0); CreateExplosion(p,q,r,7,400.0); CreateExplosion(p+random(15),q+random(15),r+random(15),7,600.0); CreateExplosion(s,t,u,7,400.0); CreateExplosion(s+random(15),t+random(15),u+random(15),7,600.0); CreateExplosion(v,w,ab,7,400.0); CreateExplosion(v+random(15),w+random(15),ab+random(15),7,600.0); CreateExplosion(a,b,c,7,400.0); CreateExplosion(a+random(15),b+random(15),c+random(15),7,600.0); CreateExplosion(d,e,f,7,400.0); CreateExplosion(d+random(15),e+random(15),f+random(15),7,600.0); CreateExplosion(g,h,i,0,400.0); CreateExplosion(g+random(15),h+random(15),i+random(15),7,600.0); CreateExplosion(j,k,l,7,400.0); CreateExplosion(j+random(15),k+random(15),l+random(15),7,600.0); CreateExplosion(ac,ad,ae,7,400.0); CreateExplosion(ac+random(15),ad+random(15),ae+random(15),7,600.0); DestroyObject(Misil11); DestroyObject(Misil12); DestroyObject(Misil13); DestroyObject(Misil14); DestroyObject(Misil15); DestroyObject(254); for(new maxMisil=0;maxMisil<MAX_OBJECTS;maxMisil++) { DestroyObject(254); DestroyObject(Misil16); DestroyObject(Misil17); DestroyObject(Misil18); DestroyObject(Misil19); DestroyObject(Misil20); } } public Misil1() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil11 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil11,x,y,z-86,30); } public Misil2() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil12 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil12,x,y,z-86,30); } public Misil3() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil13 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil13,x,y,z-86,30); } public Misil4() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil14 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil14,x,y,z-86,30); } public Misil5() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil15 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil15,x,y,z-86,30); } public Misil6() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil16 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil16,x,y,z-86,30); } public Misil7() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil17 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil17,x,y,z-86,30); } public Misil8() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil18 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil18,x,y,z-86,30); } public Misil9() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil19 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil19,x,y,z-86,30); } public Misil10() { new Float:x,Float:y,Float:z; GetObjectPos(Andromada,x,y,z); Misil20 = CreateObject(354,x,y,z-2,75,0,0); MoveObject(Misil20,x,y,z-86,30); } public RestartObjects () { SetObjectPos(Andromada,-2299.105224,1957.136596,-50.107460); IsBombing = 0; } //=?0000000000000000000000==========Comando Alquaeda Ataque if(!strcmp("/bombardear",cmd,true)) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { if (IsBombing == 1) { SendClientMessage(playerid,COLOR_PURPLE,"{FF0000}Piloto Dice: {FFFFFF}El Aeroplano Esta Ahora Bombardeando."); return 1; } else if (IsBombing == 0) { SendClientMessageToAll(0xAA3333AA,"|- Informacion Satelital -|"); SendClientMessageToAll(COLOR_WHITE,"Se Avista Un Ataque De {FF8000}Misiles{FFFFFF} Aereos"); SendClientMessageToAll(COLOR_WHITE,"Se Han Alertado Las Autoridades Via Satelite"); SendClientMessageToAll(COLOR_WHITE,"Es Momento De Estar Pendientes En El Aire"); SendClientMessageToAll(COLOR_WHITE,"Y Ocultarse En Sus Hogares {FF8000}No Entren En Panico"); SendClientMessageToAll(0xAA3333AA,"|- - Fin Del Informativo SAA -|"); SetTimer("RestartObjects",33000,false); new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); Andromada = CreateObject(14553,x+500,y,z+89,10.0,0.0,0.0); MoveObject(Andromada,x-600,y,z+50,35); SetObjectRot(Andromada,20.000000,0.000000,270.982543); SetTimer("Misil1",3000,0); SetTimer("Misil2",6000,0); SetTimer("Misil3",9000,0); SetTimer("Misil4",13000,0); SetTimer("Misil5",16000,0); SetTimer("Misil6",19000,0); SetTimer("Misil7",23000,0); SetTimer("Misil8",26000,0); SetTimer("Misil9",29000,0); SetTimer("Misil10",30000,0); SetTimer("explode1",32000,0); IsBombing = 1; return 1; } else { SendClientMessage(playerid, COLOR_GREY, " Para Usar Este COmando Debes Ser Terrorista !"); return 1; } } } } if(!strcmp("/cancelarbombardeo",cmd,true)) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { if (IsBombing == 0) { SendClientMessage(playerid,COLOR_PURPLE," {FF0000}Piloto Dice: {FFFFFF}No Hay Nigun Bombardeo En Estos Momentos!"); return 1; } else if (IsBombing == 1) { SendClientMessage(playerid,COLOR_PURPLE,"{FF0000}Piloto Dice: {FFFFFF}El Bombardeo Ha sido cancelado."); DestroyObject(Andromada); IsBombing = 0; return 1; } else { SendClientMessage(playerid, COLOR_GREY, " Para Usar Este COmando Debes Ser Terrorista !"); return 1; } } }