Jump to content
  • 0

pomoc Help CreateExposion


Mischino19

Dotaz

cfte mam timer aby vybuchla bomba a mam explosiu takto

 

CreateExplosion(-0.963960,2054.061768,79.311440,7,10.0);

 

ale nevybuchne setko ostatne ide napise ze som spustil bombu a ked by mala vybuchnut napise bomba odpalena ale nevybuchne to... nwm preco ak budete chcet nejaky kod co ktomu patri tak napise... a errory to nepise...

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0
Anglicky sice neumim ale myslim ze ten Explosion typ 7 nezobrazuje explozi (ohen)

http://wiki.sa-mp.com/wiki/Explosion_List

Jaj.. to je taky mozne.. ja mel jeden FS kde si muzete nastavit pozici kde to ma vybouchnout a id ohne/vybuchu.. nemate ho nekdo? :(

Link to comment
Share on other sites

  • 0

no ale ked stojim rovno nad tymi suradnicami a napsie ze to vybuchlo tak ma to ani nezabije ani hp neubere... ale skusim ine ID

 

EDIT: no tak som to skusil a aj tak nepomohlo tak tu mate...

     if(dialogid == 22)
  {
     if(response == 1)
     {
     	if(listitem == 0)
	{
	if(dbomb[playerid] == true) return SendClientMessageL(playerid,C_SCERVENA,"[De_Dust2009] Nemáš bombu","[De_Dust2009] Nemáš bombu","[De_Dust2009] You don´t have bomb","[De_Dust2009] Nie masz bombu");
	if(plant == 1) return SendClientMessageL(playerid,C_SCERVENA,"[De_Dust2009] bomba je uz spustena","[De_Dust2009] bomba jiz je spustena","[De_Dust2009] Bomb is already started","[De_Dust2009] Bomba jest...");
	SendClientMessageL(playerid, C_SCERVENA,"[De_Dust2009] Bomba bola položená počkaj 20 sekúnd","[De_Dust2009] Bomba byla položena počkej 20 sekund","[De_Dust2009] Bomb has been planted you wait 20 second","[De_Dust2009] Bomba została podniesiona odczekaj 20 sekund");
	btimer = SetTimer("ddustb",20000,0);
	plant = 1;
	}
	if(listitem == 1)
   	{
    	if(btimer)
   	{
       KillTimer(btimer);
   	}
	SCMTAL(C_SCERVENA,"[De_Dust2009] Bomba bola defusnusa","[De_Dust2009] Bomba byla defusnuta","[De_Dust2009] Bomb was defused","[De_Dust2009]");
       plant = 0;
	}
  }
}

 

public ddustb(){
SCMTAL(C_MODRA,"Bomba odpalena","Bomba odpalena","Bomb is explose"," bomba jest wybuchnuta");
CreateExplosion(-0.963960,2054.061768,79.311440,9,10.0);
plant = 0;
return	1;
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...