10.07.2012, 05:51
Hi,
I've come across to this warning:
warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
(Sorry, My browser wouldn't give me the code option)
Code:
__________________________________________
stock acGivePlayerWeapon(playerid, Gun, Ammo)
{
sPlayerWeapons[playerid][Gun] = true;
GivePlayerWeapon(playerid, Gun, Ammo);
}
#define GivePlayerWeapon acGivePlayerWeapon
__________________________________________
Thanks.
I've come across to this warning:
warning 201: redefinition of constant/macro (symbol "GivePlayerWeapon")
(Sorry, My browser wouldn't give me the code option)
Code:
__________________________________________
stock acGivePlayerWeapon(playerid, Gun, Ammo)
{
sPlayerWeapons[playerid][Gun] = true;
GivePlayerWeapon(playerid, Gun, Ammo);
}
#define GivePlayerWeapon acGivePlayerWeapon
__________________________________________
Thanks.

