06.04.2012, 01:33
The code stops at GetPlayerWeapon, i did debug, thats how i figured out that.
It never gets to 2.
EDIT:Nevermind, i figured out why, the weapon gets removed before this callback is called.
pawn Код:
if( newkeys & KEY_FIRE )
{
print("1" );
if( GetPlayerWeapon( playerid ) == 40 )
{
print("2" );
EDIT:Nevermind, i figured out why, the weapon gets removed before this callback is called.