alright i eventually figured it out but now i want to make glows that involve multiple shells like police and rainbow.
Code:
public cmdGlowPolice(id) {
if( !get_cvar_num("sv_glow") ) {
client_print(id, print_chat, "[AMXX] Sorry, GAIO (Glow All in One) is disabled!")
return PLUGIN_HANDLED
}
if( !is_user_alive(id)) {
client_print(id, print_chat, "[AMXX] You must be alive in order to glow!" )
return PLUGIN_HANDLED
}
if( g_GlowColor[id] == GLOW_POLICE) {
client_print(id, print_chat, "[AMXX] You are already glowing police!" )
return PLUGIN_HANDLED
}
client_print(id, print_chat, "[AMXX] You are now glowing police!" )
g_GlowColor[id] = GLOW_POLICE
set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 26)
return PLUGIN_HANDLED
}
how would i manipulate this bit of code to make glowpolice (red and blue shells simultaneously)?