Hey i want to add in plugin this function which are below
mine question would be how to make this work when player is pressing shift button
and i need basic tutorial how to link this new function to old one where my main plugin will run ( i mean use function from one plugin to other)
didnt found good example thnx
Code:
BarTime(id, iSeconds = 0)
{
if( iSeconds < 0 )
{
return
}
static BarTime = 0
if( !BarTime )
{
BarTime = get_user_msgid("BarTime")
}
message_begin(MSG_ONE, BarTime, .player=id)
write_short( iSeconds )
message_end()
}
or this one from here
https://forums.alliedmods.net/showthread.php?t=147843