Help with understanding bots.
#1

Ok I have an RP server and would like to add a train bot (in LS) and a plane bot (for all airports). I plan on using the default ones included with SAMP servers.

In the gamemode folder there is the PWN and the REC files for it. How do I make it connect however? What do I need to do?

I tried taking the PWN and adding it as a FS and it didn't work...

Please help me add these bots to my RP server. Thanks!

-jakejohnsonusa
Reply
#2

Let those files remain in the "npcmodes" folder but in the main gamemode script add this
pawn Код:
ConnectNPC("Name that will be visible to players", "name of the .rec file");
Thanks.
Reply
#3

Under OnGameModeInIt?
Reply
#4

Yea under OnGameModeInIt ?
Reply
#5

Ahhh! Now they aren't working because the vehicles aren't there... Does anyone have a full NPC that works on 0.3e for trains (In all cities or at least LS) and for a train (In all cities or at least LS)?

Please, I would really like some NPC's in my GM.
-jakejohnsonusa
Reply
#6

According to me you are using either Godfather or something RP gamemode edit, so if you want your ncp to be worked, you should fix your onplayerconnect section in your script and allow NPC to be log in, dont forgate PutPlayerInVehicle statement and sorry about trains i really dont know how to add trains but i've added cars and onfoot npc on a godfather successfully for any other question pm me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)