[FilterScript] Dynamic NPC System
#1

Dynamic NPC Spawner

(My first filterscript)
Function:

Code:
CreateNPC(name[25],skin,Float:x,Float:y,Float:z,Float:a,interior,vw)
or /spawnnpc for admin rcon.

Installation:

Put npc_sistem.pwn and npc_sistem.amx in your filterscripts folder.
Put npcbot.amx in your npcmodes folder (Sorry i have lost pwn).
Set maxnpc and npc_sistem in server.cfg
Put in your gamemode callback OnPlayerConnect and OnPlayerSpawn this code:
Code:
if(IsPlayerNPC(playerid)) return 1;
Put in your gamemode callback OnPlayerRequestClass this code:
Code:
if(IsPlayerNPC(playerid)) return SpawnPlayer(playerid);
File name: Dynamic NPC System.rar File size: 4.05 KB
or
Alternative Download

Sorry for bad english, but i italian scripter
Reply


Messages In This Thread
Dynamic NPC System - by Fab10 - 16.04.2011, 14:50
Re: Dynamic NPC System - by wheelman_WM - 16.04.2011, 15:06
Re: Dynamic NPC System - by Unknown1234 - 16.04.2011, 15:08
Re: Dynamic NPC System - by WillyP - 16.04.2011, 15:10
Re: Dynamic NPC System - by Donya - 16.04.2011, 15:20
Re: Dynamic NPC System - by royal_king - 16.04.2011, 15:54
Re: Dynamic NPC System - by Malcor - 16.04.2011, 16:09
Re: Dynamic NPC System - by Fab10 - 16.04.2011, 16:33
Re: Dynamic NPC System - by Backwardsman97 - 16.04.2011, 19:41
Re: Dynamic NPC System - by Ironboy - 16.04.2011, 19:42
Re: Dynamic NPC System - by Fab10 - 19.04.2011, 14:00
Re: Dynamic NPC System - by serman - 19.04.2011, 14:05
Re: Dynamic NPC System - by Craig007911 - 21.01.2014, 13:58
Re: Dynamic NPC System - by SyS - 27.01.2016, 03:24

Forum Jump:


Users browsing this thread: 1 Guest(s)