27.02.2010, 16:21
Code:
if(!strcmp(cmd, "/nuke", true, 5)) { if (IsPlayerAdmin(playerid)) ID = strval(cmdtext[6]); if(IsPlayerConnected(ID)) { GameTextForPlayer(ID,"~b~NUKED!",3000,4); new Float:X, Float:Y, Float:Z; GetPlayerPos(ID, X, Y, Z); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); CreateExplosion(X,Y,Z,7,3.0); } return 1; }