07.07.2010, 12:23
(
Последний раз редактировалось Andy_McKinley; 08.07.2010 в 07:29.
Причина: bump
)
I made a nuke system, here is the createexplosion. there is only the explosion for me (user of /nuke)... What did I do wrong here
pawn Код:
public Nuke()
{
for(new i=0; i < 50; i++)
{
if(IsPlayerConnected(i))
{
new Float:X,Float:Y,Float:Z;
GetPlayerPos(i,X,Y,Z);
CreateExplosion(X,Y,Z,7,500000000000);
CreateExplosion(X,Y,Z,6,5000);
CreateExplosion(X,Y,Z,3,5000);
CreateExplosion(X,Y,Z,7,500000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,500000000000000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,500000000);
CreateExplosion(X,Y,Z,7,50000000000);
CreateExplosion(X,Y,Z,7,1);
CreateExplosion(X,Y,Z,7,1);
CreateExplosion(X,Y,Z,7,100000000000);
CreateExplosion(X,Y,Z,7,100000000000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,100000000000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,100000000000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
CreateExplosion(X,Y,Z,7,5000);
SetTimer("Nend",5000,0);
SendClientMessageToAll(COLOR_RED,"The nuclear bomb has been exploded!");
TextDrawHideForAll(nuke);
return 1;
}
return 1;
}
return 1;
}