Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Plugin generated by AMXX-Studio */
- #include < amxmodx >
- #include < engine >
- public plugin_init()
- {
- register_plugin( "Test Spectating Target", "v1.0", "+ColdWar" )
- }
- public client_PreThink( client )
- {
- if( is_user_alive( client ) )
- return;
- new target = entity_get_int( client, EV_INT_iuser2 );
- if( !target )
- return;
- new szName[ 32 ];
- get_user_name( target, szName, sizeof szName - 1 );
- set_hudmessage( 85, 0, 255, -1.0, 0.68, 0, 6.0, 12.0 )
- show_hudmessage( client, "Your spectating %s.", szName )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement