Thread
:
VIP on tabscore
View Single Post
cosminvl
Member
Join Date: Mar 2013
Location: Romania
02-10-2019 , 09:20 Re: VIP on tabscore
#
10
Incearca astea
https://forums.alliedmods.net/showth...1778?p=1241778
Quote:
#include <amxmodx>
#include <hamsandwich>
#pragma semicolon 1
static const PLUGIN[ ] = "PLUGIN";
static const VERSION[ ] = "1.0";
static const AUTHOR[ ] = "Rap";
new g_ScoreAttrib;
public plugin_init( )
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHam(Ham_Spawn, "player", "HamPlayerSpawn", 0);
g_ScoreAttrib = get_user_msgid("ScoreAttrib");
}
public HamPlayerSpawn(id)
{
if( get_user_flags(id) & read_flags("u") )
{
set_user_scoreattrib(id, 4);
}
}
stock set_user_scoreattrib(id, attrib = 0)
{
message_begin(MSG_BROADCAST, g_ScoreAttrib, _, 0);
write_byte(id);
write_byte(attrib);
message_end( );
}
http://www.girlshare.ro/33050811.2
__________________
cosminvl
View Public Profile
Send a private message to cosminvl
Find More Posts by cosminvl