05.10.2010, 17:32
Well, I need some help with this code..
So, what I need, is that GetPlayerWeaponDataEx will get the variable "Weapon" for the weapon ID that the player has.. I tryed this:
And didn't work 
Thanks
pawn Код:
#define GivePlayerWeaponEx(%0,%1,%2) SetPVarInt(%0,"Weap",%1), GivePlayerWeapon(%0,%1,%2)
#define GetPlayerWeaponDataEx(%0,%1,%2,%3) GetPlayerWeaponData(%0,%1,%2,%3)
#define ResetPlayerWeaponsEx(%0) ResetPlayerWeapons(%0)
#define GetPlayerWeaponEx(%0) GetPlayerWeapon(%0)
pawn Код:
#define GetPlayerWeaponDataEx(%0,%1,%2,%3) GetPlayerWeaponData(%0,%1,GetPVarInt(%0,"Weap"),%3)

Thanks
