Note:
Edit: Just a problem, if you want take the name of hegrenade/sk/fl or c4, you should do something like that:
Code:
// Example of get weapon name on a smokegrenade:
new WeaponName[20];
give_user_weapon( id, CSW_SMOKEGRENADE, _, 3, WeaponName, charsmax( WeaponName ) );
client_print( id, print_chat, " You got 3 %s", WeaponName );
You need to
skip an parameter ( "iClip" ), as is not used.
( Only on Hegrenade, FlashBang,Smokegrenade & C4 )