Is there some kind of tag that I can call back to, such as the stock functions, but with the functions (not sure what they are called) that the name changes what exactly it does, such as OnPluginStart and OnClientPutInServer, etc. This is part of a bigger plugin, where I need to put taunt data into other functions. Here are the functions that I need to put inside the other functions:
PHP Code:
public Action:HUD(Handle:timer, any:client)
{
}
public OnEntityCreated(entity, const String:classname[])
{
}
public SDKHookCB_OnSceneSpawnedPost(entity)
{
}
I need to put all of those into a bigger plugin, but I can't put functions inside of functions, so is there a different way to do this?
I know this probably sounds really weird, but if you can figure out what looking for, I would really appreciate help.
Thanks!
EDIT
I already know about stock functions, where you can type:
PHP Code:
public Action:Command_Spycrab(client, args)
{
tauntdata(client)
}
stock tauntdata(client)
{
PrintToChat(client, "TAUNT DATA");
return Plugin_Handled;
}
I'm just looking for a tag that you can add that creates a name for it, and you can call it inside another function, such as:
public Action:Command_Spycrab(client, args, stock:<insertnamehere>(client))
and call it with <insertnamehere>(client)
Something like that, though I know stock isn't a tag.
My main reason of wanting this, is that I want to put spycrab taunt data inside the Map Zones plugin, where only if you are inside a Map Zone, you will be killed if you spycrab.
__________________