Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <open.mp>
- #include <sscanf2>
- main() {}
- new npcid;
- public OnGameModeInit()
- {
- npcid = NPC_Create("NPC_1");
- NPC_SetPos(npcid, 0.0, 0.0, 0.0);
- NPC_Spawn(npcid);
- return 1;
- }
- public OnGameModeExit()
- {
- if(NPC_IsValid(npcid)) {
- NPC_Destroy(npcid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment