Raised This Month: $ Target: $400
 0% 

creating forwards in plugins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-27-2006 , 01:45   creating forwards in plugins
Reply With Quote #1

Let's say I have this function in a script:
Code:
public give_xp(id,amount,type,reason[]) {     xp[id][type] += amount     client_print(id,print_chat,"[AMXX] You have been given %d %s XP points for %s",amount,typestringconst[type],reason) }

Now that code is in plugin A. I want it so that someone can come along and make a plugin B and just hook when plugin A calls that function and be able to know what the parameters are.

Code:
_

Last edited by GHW_Chronic; 10-27-2006 at 01:58.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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 04:50.


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