brokew - 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)
+--- Thread: brokew (
/showthread.php?tid=538878)
brokew -
DamonD - 24.09.2014
hello,
i am trying to use this,
https://sampforum.blast.hk/showthread.php?tid=358655
but when I load it the bot doesn't appear... what to do
Re: brokew -
Jacapo - 25.09.2014
Hi, check your server.cfg (maxnpc must be > 0).
Or check in console that NPC is trying to connect.
Re: brokew -
DamonD - 25.09.2014
No mans it connects but when I go in the game I do not see it, but it connected ok
Re: brokew -
Jacapo - 25.09.2014
Hmm maybe checks position of the NPC (if you changed it) or try again the "tutorial".
link
"
Dont just copy&paste that code to OnGameModeInit() or main(), this wont work due to RNPC limitations. Instead execute this code delayed, with a timer or a command." - from thread.
Re: brokew -
DamonD - 25.09.2014
I use it within a command sir. I am not a noob.
Re: brokew -
Jacapo - 25.09.2014
Okay, show us the command. Maybe we find the solution.
Re: brokew -
DamonD - 25.09.2014
I've tried with multiple, using the code given.
Re: brokew -
Jacapo - 25.09.2014
if you mean this:
Код:
new rp = CreateRNPCPolice("Officerino", 280);
AddRPOLWaypoint(rp, 2029.42, 1354.34, 10.5);
AddRPOLWaypoint(rp, 2033.55, 1286.21, 10.5);
AddRPOLWaypoint(rp, 2079.03, 1286.00, 10.5);
AddRPOLWaypoint(rp, 2079.02, 1362.08, 10.5);
StartRPOLRoute(rp);
try it without command, try OnGameModeInit or FS. (Still something

)
Or check your RNPC plugin version and check in server.cfg if you have written: Windows: rnpc, Linux: rnpc.so