Guest User

bare.pwn

a guest
Jan 17th, 2026
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.29 KB | None | 0 0
  1. #include <open.mp>
  2. #include <sscanf2>
  3.  
  4. main() {}
  5.  
  6. new npcid;
  7.  
  8. public OnGameModeInit()
  9. {
  10.     npcid = NPC_Create("NPC_1");
  11.     NPC_SetPos(npcid, 0.0, 0.0, 0.0);
  12.     NPC_Spawn(npcid);
  13.     return 1;
  14. }
  15.  
  16. public OnGameModeExit()
  17. {
  18.     if(NPC_IsValid(npcid)) {
  19.         NPC_Destroy(npcid);
  20.     }
  21.     return 1;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment