SA-MP Forums Archive
[AJUDA] Creat Explosion - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Creat Explosion (/showthread.php?tid=340361)



[AJUDA] Creat Explosion - 3V3RTON - 06.05.2012

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 '-'



Re: [AJUDA] Creat Explosion - zbt - 06.05.2012

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

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


Re : Re: [AJUDA] Creat Explosion - 3V3RTON - 06.05.2012

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