Quote:
Originally Posted by D3XT3R
explain to us more....
|
Well, I amde a command max_give_weapon Usage : player, weapon
I want to check if arg2 contains an item from the g_weaps enumeration to give the player the item from arg2 and display the emssages.Else, it should jsut display a message that the weapon is not valid.
Code:
give_item(player,arg2)
console_print(id, "Admin %s gave %s ^"%s^".", g_szPlayerName,player,arg2)
client_print(0,print_chat,"* Admin %s gave %s ^"%s^".", g_szPlayerName,player,arg2)