[FilterScript] Simple Plant C4 system for NEWBIE
#3

yar i use animation but i think if there no animation it will be batter to use in fast way

pawn Код:
if (strcmp("/plantautoc4", cmdtext, true, 10) == 0)
{
        GetPlayerPos(playerid,X,Y,Z);
        bomb1 = CreatePickup(1252,23,X,Y,Z,-1,-1);
        bombs[playerid]++;
        SendClientMessage(playerid,0xFFFFFFFF,"You planted the C4 BOMB. Run out of there!");
        SendClientMessage(playerid, 0xFFFFFFFF, "You selected auto detonate C4 BOMB. It will explode in 5 SECOUNDS!");
        ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 1, 0, 0, 0, 0);
        SetTimer("bombplant",1500,false);
        SetTimer("bombexplode",7000,false);
}
add
pawn Код:
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 1, 0, 0, 0, 0);
to have Animation plant c4

with Animation (i change to 7 seconds and 1.5 second plant bomb and after plant bomb it will auto bomb in 7 seconds
Reply


Messages In This Thread
Simple Plant C4 system for NEWBIE - by ThunderX - 05.11.2014, 07:49
Re: Simple Plant C4 system for NEWBIE - by Sasino97 - 05.11.2014, 10:59
Re: Simple Plant C4 system for NEWBIE - by ThunderX - 05.11.2014, 11:40
Re: Simple Plant C4 system for NEWBIE - by GamingPro - 05.11.2014, 22:37
Re: Simple Plant C4 system for NEWBIE - by Abagail - 05.11.2014, 23:16
Re: Simple Plant C4 system for NEWBIE - by ThunderX - 06.11.2014, 00:23
Re: Simple Plant C4 system for NEWBIE - by Sew_Sumi - 06.11.2014, 01:36
Re: Simple Plant C4 system for NEWBIE - by M0HAMMAD - 06.11.2014, 09:19
Re: Simple Plant C4 system for NEWBIE - by Sew_Sumi - 06.11.2014, 21:03
Re: Simple Plant C4 system for NEWBIE - by ThunderX - 08.11.2014, 03:46

Forum Jump:


Users browsing this thread: 1 Guest(s)