Professional Documents
Culture Documents
Message
Message
*
* The Plugin is Made by N.O.V.A , It is a Private and Paid Job !!
*
* Contacts:-
*
* Fb:- facebook.com/nova.gaming.cs
* Insta :- instagram.com/_n_o_v_a_g_a_m_i_n_g
* Discord :- N.O.V.A#1790
* Youtube :- NOVA GAMING
*
*
*/
/*----------------------------------*/
/* INCLUDES */
/*----------------------------------*/
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
/*----------------------------------*/
/* ANTI-DECOMPILE */
/*----------------------------------*/
#pragma compress 1
#pragma semicolon 1
/*----------------------------------*/
/* NEWS */
/*----------------------------------*/
new g_flag;
public plugin_init( )
{
register_plugin( "[NV] Random Player", "03/11/2020", "N.O.V.A" );
g_flag = register_cvar("nv_grp_access_flag","f");
register_clcmd( "say /random", "CmdSay" );
public CmdSay(id)
{
if(get_user_flags(id) & read_pcvar_flags(g_flag))
{
new Name[33],player;
player = getRandPlayer();
getRandPlayer()
{
new players[ 32 ], player, num, pList[ 33 ], count;
get_players( players, num, "a" );
for( new i ; i < num ; i ++ )
{
player = players[ i ];