30.04.2013, 13:52
pawn Код:
CMD:explodirtodos(playerid,params[])
{
if(!IsPlayerAdmin(playerid) && PlayerInfo[playerid][Admin] < 3)return SendClientMessage(playerid,Cor_Erro,NaoAdmin);
new ID;
if(!IsPlayerConnected(ID))return SendClientMessage(playerid,Cor_Erro,"O jogador nгo estб conectado");
new i;
new Float:x, Float:y, Float:z;
PlayerPlaySound(i,1190,0.0,0.0,0.0);
GetPlayerPos(i,x,y,z);
CreateExplosion(x, y , z, 7, 10.0);
return 1;
}