27.05.2009, 17:40
Ok im adding a robbery faction for my rp,
And im adding a bridge able to blow up,
And there is 3 pickup`s, When u walk to them,
You can say /plantc4, And it will set off a timer for 30 seconds,
After that 30 seconds is up, BOOM, So im wondering will this code work,
Will that work? I obviously will change the X, Y, Z, Type And Radius,
I have forwarded it also,
And im adding a bridge able to blow up,
And there is 3 pickup`s, When u walk to them,
You can say /plantc4, And it will set off a timer for 30 seconds,
After that 30 seconds is up, BOOM, So im wondering will this code work,
pawn Код:
if(!strcmp(cmdtext, "/plantc4", true))
{
SetTimer("C4",30000,false);
return 1;
}
public C4()
{
CreateExplosion( x, y ,z, type, float:radius);
}
I have forwarded it also,