SA-MP Forums Archive
NPC Not work on R8 - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: NPC Not work on R8 (/showthread.php?tid=162979)



NPC Not work on R8 - Nexotronix - 25.07.2010

i downloaded samp 0.3 r8 and my old bots from R4 don't wont to work! Tell me why? and how to create working bots for R8 update!

Screenshot: http://outlaws-olb.clan.su/noname.png


Respuesta: NPC Not work on R8 - xenowort - 25.07.2010

A actualization of the includes maybe...


Re: NPC Not work on R8 - Nexotronix - 25.07.2010

just look at screeshot...


Re: NPC Not work on R8 - Shadow™ - 25.07.2010

Could be one or two things... Let's start with the main one.

Scenario 1:

You could be missing a few scriptfiles from your folder, make sure you haven't lost any in the process of updating.

Scenario 2:

You could be missing a plugin defined in server.cfg - make sure you don't have any un-nessesary plugins.

Scenario 3:

You could've missed:

pawn Код:
main()
{
}
from the script, add it if you haven't got it.


Re: NPC Not work on R8 - Nexotronix - 25.07.2010

man, all scenarios are good in my scripts, i don't know what is it with NPC, why i have bad result?


Re: NPC Not work on R8 - Shadow™ - 25.07.2010

That's why... You're using OnFilterScriptInit / Exit for a gamemode ^.^

Add this above OnFilterScriptInit:

pawn Код:
main()
{
}
now change OnFilterScriptInit to: OnGameModeInit and OnFilterScriptExit to OnGameModeExit


Re: NPC Not work on R8 - Nexotronix - 25.07.2010

man, all scenarios are good in my scripts, i don't know what is it with NPC, why i have bad result?


Re: NPC Not work on R8 - Shadow™ - 25.07.2010

Read my previous post? You're trying to load a script which is classed as a filterscript as you haven't actually stated it as a gamemode using:

Quote:

OnGameModeInit

Quote:

OnGameModeExit

pawn Код:
main()
{
}
Change those, and then try it.


Re: NPC Not work on R8 - Nexotronix - 25.07.2010

i change it all in my script...but this time in log i don't see even the Incomin' connection...bla-bla-bla:7777


Re: NPC Not work on R8 - Shadow™ - 25.07.2010

Do you have the NPC's in npcmodes\...?