[FilterScript] Ingame NPC maker - my first release after long time :D

Same here, i had knpc a while ago and it used to work fine, now i just re-downloaded it gives response to all other commands other then /knpc, everything is loaded.
Reply

I just tested it and it works, do you have filemanager installed?
Reply

Yep, using 1.5(latest)

I have:

all files in npcmodes.
compiled with filemanager.inc
have filemanager 1.5
didnt edit your .pwn



Quote:

--------------
Loading plugin: filemanager
******************
** FILE MANAGER **
** Loaded **
** Version 1.5 **
******************

Reply

Edit: I wasnt loading it on startup, but with rcon. loading it on server startup fixed it... but npcs dont connect? i have maxnpc to 50

(i have a server npc and that connects fine)
Reply

I have no idea why it doesn't work then, here is the setup i am using: http://stalin.jecool.net/testserver.zip
Reply

Btw, do we have permission to change the npc name? kurence....

(i managed to make it work)
Reply

Yes, but it may be difficult for newbies (on purpose ) since i am using split for processing these npc names
Reply

You know, no one will use someone's name on a good running server... btw thats right years ago i had tried but failed, but now things changed

Notepad++ rocks man:

PHP код:
    Line 64:     if(IsPlayerNPC(i) && !strcmp("Kurence",fuckername,false,7))Kick(i);
    
Line 128:     if(!strcmp("Kurence",strfuck,false,7))Kick(i);
    
Line 144:     format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
    
Line 171:     format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
    
Line 190:     format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
    
Line 196:     format(namelulzomg,sizeof(namelulzomg),"Kurence%d",pnpcid[playerid]);
    
Line 230:     format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
    
Line 262:     format(fuckername,sizeof(fuckername),"Kurence%d",strval(tmp));
    
Line 275: if(!strcmp("Kurence",strfuck,false,7)){
    
Line 299format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
    
Line 310: if(!strcmp("Kurence",strfuck,false,7) && n00b==&& IsPlayerNPC(playerid)){
    
Line 324: if(!strcmp("Kurence",strfuck,false,7)){
    
Line 346format(fuckernamelulz,sizeof(fuckernamelulz),"Kurence%d",pnpcid[playerid]);
    
Line 352format(namelulzomg,sizeof(namelulzomg),"Kurence%d",pnpcid[playerid]); 
Reply

Ok, I am glad that it works for you now, enjoy
Reply

Well done.
Have you considered MySql later on?
Reply

Not needed, data is accessed only on init and when executing commands, no permanent timers, no one would notice the performance boost
Reply

Awesome work.
Reply

I cant believe someone still uses this
Reply

Sometimes works sometimes it doesn't.
Now, it never works.
Reply

Quote:
Originally Posted by Politis
Посмотреть сообщение
Sometimes works sometimes it doesn't.
Now, it never works.
This was made in 2011, it is now 2019. Of course it isn't going to work after all this time and as SA-MP updates, things change and therefore, things become unusable.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)