11.05.2014, 09:21
pawn Код:
public ExplodeC4(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, x, y, z, range)) // fill the X, Y, Z Cordinates, and Range
{
new Float:x, Float:y, Float:z;
GetObjectPos(C4T, x, y, z);
DestroyObject(C4T);
CreateExplosion(x, y, z, 7, 10.0);
C4T= 0;
}
return 1;
}