OnXmasGiftsDistribute
Usage
- No return behavior
Example Autogenerated
csharp
private void OnXmasGiftsDistribute( )
{
Puts( "OnXmasGiftsDistribute works!" );
}
Location
- XMasRefill::DistributeGiftsForPlayer(BasePlayer player)
csharp
public bool DistributeGiftsForPlayer(BasePlayer player)
{
if (Interface.CallHook("OnXmasGiftsDistribute", this, player) != null)
{
return false;
}
int num = this.GiftsPerPlayer();
int num2 = this.GiftSpawnAttempts();
//---