28.12.2012, 02:16
WTF ? I'm tested the function, i'ts work fine o.O
Are you sure that not inserted a invalid weapon id in the parameter "weaponid" of the function ?![Wink](images/smilies/wink.png)
See :
output :
i hope that helped you
Are you sure that not inserted a invalid weapon id in the parameter "weaponid" of the function ?
![Wink](images/smilies/wink.png)
See :
pawn Код:
stock returnWeaponName(weaponid)
{
new szGunName[32];
GetWeaponName(weaponid, szGunName, sizeof(szGunName));
return szGunName;
}
public OnGameModeInit()
{
printf("%s", returnWeaponName(24));
return 1;
}
Quote:
[01:33:38] Desert Eagle |
![afro](images/smilies/mrgreen.gif)