C4 TIMER
#8

SetTimerEx("C4",10000,false,"is",1,"C4 has exploded");


public C4(playerid, cmdtext[])
{
//-------------------------------[C4]-------------------------------------------
if(strcmp(cmdtext, "/c4", true) == 0)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{

ApplyAnimation(playerid,"ped","bomber",4.1,0,1,1,1 ,1);
SendClientMessage(playerid, COLOR_ROB, "C4 set, in 10 seconds it will explode");
new Floatcx, Floatcy, Floatcz;
GetPlayerPos(playerid,scx, scy, scz);
CreateExplosion(scx+1,scy+1,scz+1,7,100);
}
return 1;
}
return 0;
}


THats all i made


Reply


Messages In This Thread
C4 TIMER - by Frankox - 09.07.2009, 10:59
Re: C4 TIMER - by weedarr - 09.07.2009, 11:06
Re: C4 TIMER - by Frankox - 09.07.2009, 11:08
Re: C4 TIMER - by yom - 09.07.2009, 11:12
Re: C4 TIMER - by Frankox - 09.07.2009, 11:13
Re: C4 TIMER - by Frankox - 09.07.2009, 11:21
Re: C4 TIMER - by weedarr - 09.07.2009, 11:32
Re: C4 TIMER - by Frankox - 09.07.2009, 11:33
Re: C4 TIMER - by Correlli - 09.07.2009, 11:34
Re: C4 TIMER - by weedarr - 09.07.2009, 11:35

Forum Jump:


Users browsing this thread: 1 Guest(s)