27.01.2015, 02:22
Lets take for sake of the argument only one callback. I dont see OnPlayerTakeDamage...how can i know that it exists at all? How can i know what parameters it has and what value it must return to work properly?
new.pwn was populated with all callbacks for a good reason, you dont need some of them? Feel free to delete them (Its way easier than to add them).
By the way here is example of OnPlayerEditAttachedObject parameters:
That is some callback...let me guess...you know how to write that heading function along with all parameters and if you dont you will visit wiki... Oh wait! What if someone doesn't even know that such callback exists?! Oh right...its their fault they didnt read whole wiki...
new.pwn was populated with all callbacks for a good reason, you dont need some of them? Feel free to delete them (Its way easier than to add them).
By the way here is example of OnPlayerEditAttachedObject parameters:
pawn Код:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
//These callback does not handle returns
}