[AJUDA] Creat Explosion
#1

Onde Aumento a potкncia da Bomba ain ?

pawn Код:
if(!strcmp(cmd,"/plantarbomba",true)){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Terrorista || dini_Int(file, "Profissao") == Yakuza || dini_Int(file, "aAdmin") == 1 || IsPlayerAdmin(playerid)){
new dinid,Float:x,Float:y,Float:z;
if(IsPlayerInAnyVehicle(playerid)){
SendClientMessage(playerid,Vermelho,"(ERRO) Vocк nгo pode plantar uma bomba dentro do veiculo.");
return 1;
}
GetPlayerPos(playerid,x,y,z);
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 50.0, 0, 0, 0, 0, 0);
SetTimerEx("CriarExplosao",5000,false,"fffdf",x,y,z,2,50.0);
dinid = CreateDynamicObject(1252,x,y,z-0.8,0,0,0);
SetTimerEx("DestruirObjeto",5000,false,"d",dinid);
GameTextForPlayer(playerid,"~r~BOMBA ~b~PLANTADA",1000,4);
return 1;
}
}
pawn Код:
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 50.0, 0, 0, 0, 0, 0); //Aqi ja tentei nгo deu nada '-'
Reply
#2

Aqui
SetTimerEx("CriarExplosao",5000,false,"fffdf",x,y, z,2,50.0);

2 й o tipo de explosгo, 50.0 o raio. sу aumentar.
Reply
#3

Quote:
Originally Posted by zbt
Посмотреть сообщение
Aqui
SetTimerEx("CriarExplosao",5000,false,"fffdf",x,y, z,2,50.0);

2 й o tipo de explosгo, 50.0 o raio. sу aumentar.
Valeu +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)