11.12.2009, 06:09
You should be using
Also note that the explosion is going to happen on the tank and will just self-destruct, which is cool too, but doens't look like what you're aiming for. Look for GetXYInFrontOfPlayer, and change the function to work with vehicles. You're also using angle wrong, you're not setting it to anything and you're placing it in the radius parameter of CreateExplosion, which is wrong.
pawn Код:
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))