Raised This Month: $ Target: $400
 0% 

Linking question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Storas1337
Senior Member
Join Date: Apr 2009
Location: Lithuania
Old 05-21-2014 , 19:10   Linking question
Reply With Quote #1

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

Last edited by Storas1337; 05-26-2014 at 15:23.
Storas1337 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode