Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include < amxmodx >
- #include < engine >
- #include < hamsandwich >
- public plugin_init()
- {
- register_plugin( "Random Glow", "v0.0.1", "+ColdWar" )
- RegisterHam( Ham_Spawn, "player", "Ham_PlayerSpawn_Post", 1 );
- }
- public Ham_PlayerSpawn_Post( client )
- {
- new Float: g_flGlowColor[ 3 ];
- for( new i = 0 ; i < sizeof g_flGlowColor ; i ++ )
- g_flGlowColor[ i ] = random_float( 0.0, 255.0 );
- entity_set_vector( client, EV_VEC_rendercolor, g_flGlowColor );
- entity_set_int( client, EV_INT_renderfx, kRenderFxGlowShell );
- entity_set_int( client, EV_INT_rendermode, kRenderNormal );
- entity_set_float( client, EV_FL_renderamt, 84.0 );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement