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.