hello, when I reach a certain level, I want the bullets to be like this. It gives bombs to the code below, can you code it so that the bullets are colored instead?
PHP Code:
#include <amxmodx>
#include <crxranks>
#include <fun>
#include <hamsandwich>
public plugin_init()
{
register_plugin("CRXRanks: Weapon Example", "1.0", "OciXCrom")
RegisterHam(Ham_Spawn, "player", "OnPlayerSpawn", 1)
}
public OnPlayerSpawn(id)
{
if(!is_user_alive(id))
return
if(crxranks_get_user_level(id) >= 25)
give_item(id, "weapon_hegrenade")
}