SA-MP Forums Archive
[FilterScript] Dynamic NPC System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Dynamic NPC System (/showthread.php?tid=248929)



Dynamic NPC System - Fab10 - 16.04.2011

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


Re: Dynamic NPC System - wheelman_WM - 16.04.2011

its Nice coz it ur first script
I dont think its much usefull


Re: Dynamic NPC System - Unknown1234 - 16.04.2011

nice job...........


Re: Dynamic NPC System - WillyP - 16.04.2011

Quote:
Originally Posted by wheelman_WM
View Post
its Nice coz it ur first script
I dont think its much usefull
How is this not useful? It saves you around 15 mins of going ingame, recording, and sorting out everything just to connect a NPC, you obviously don't know half shit of what you're talking about.....


Re: Dynamic NPC System - Donya - 16.04.2011

Nice, but please put a pastebin

EDIT: The file or page you tried to access is no longer accessible.
To enjoy maximum download speeds and unlimited parallel downloads,
upgrade to Premium account now.


Re: Dynamic NPC System - royal_king - 16.04.2011

this is great!! saves lots of time


Re: Dynamic NPC System - Malcor - 16.04.2011

Great dude, but obviously it only stand right?


Re: Dynamic NPC System - Fab10 - 16.04.2011

added alternative download


Re: Dynamic NPC System - Backwardsman97 - 16.04.2011

I don't think you're supposed to release anything without the source (.pwn) and saying you've lost it doesn't cut it.


Re: Dynamic NPC System - Ironboy - 16.04.2011

Nice for your first FS


Re: Dynamic NPC System - Fab10 - 19.04.2011

thanke


Re: Dynamic NPC System - serman - 19.04.2011

Good Job !


Re: Dynamic NPC System - Craig007911 - 21.01.2014

The word "LOST" when you dont wanna reveal the source so we can edit (y) interesting how didnt the other files get LOST btw nice work


Re: Dynamic NPC System - SyS - 27.01.2016

dude the cmd /spawnnpc shows unkown cmd YEs i have logged in as RCON pls REPLY FAST