Skip to content

Commit

Permalink
Create OnNPCSpawn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Fede5432 authored Sep 13, 2024
1 parent dd84b83 commit bafdd87
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/translations/es/scripting/callbacks/OnNPCSpawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: OnNPCSpawn
description: Este callback es llamado cuando un NPC se genera.
tags: ["npc"]
---

## Descripción

Este callback es llamado cuando un NPC se genera.


## Ejemplos

```c
public OnNPCSpawn()
{
print("NPC generado");
SendChat("Hola Mundo. Soy un bot.");
return 1;
}
```

0 comments on commit bafdd87

Please sign in to comment.