#1

Am making a npc to a shop there people can buy things, but how can it stay there forever? Like pausing the record or something?

Do i need to record like 404100410 hours? lol
Reply
#2

Put the location of the NPC where you want it to stay and it will stay there.
Reply
#3

Yeah but how? Right now i have a npc in a car, he drives around and when the recording ends, he start from the beginning, i don't want the shop bot to be like that, i want him to stay still forever
Reply
#4

If you made that NPC yourself, move to the location you want the shopkeeper to be, record 1-2 seconds of standing still and then stop? Surely that must work. (:
Reply
#5

No you don't need to. Once you made a bot in a spot where you wanted him to stand then it will be forever. Just be sure you script the npc correctly.

Follow this tutorials:

https://sampforum.blast.hk/showthread.php?tid=161901 Find here the onfoot.

or this one https://sampforum.blast.hk/showthread.php?tid=95034

Or you can use search button.
Reply
#6

Use FCNPC or RNPC, create the NPC, connect it, spawn it no need for recording the plugins should offer some functions to create a shopwise NPC sort.
Reply
#7

Can i use those with the recordings i already have

Btww, how can i set armour and health bar??

edit;; the bot doesnt get this weapon....

pawn Код:
if(!strcmp(NPCName, "Ypterko", true))
        {
            SetPlayerArmour(playerid, 100);
            GivePlayerWeapon(playerid, 38, 5000);
            SetPlayerSkin(playerid, 208);
        }
Reply
#8

Bump
Reply
#9

Quote:
Originally Posted by Ananisiki
Посмотреть сообщение
Can i use those with the recordings i already have

Btww, how can i set armour and health bar??

edit;; the bot doesnt get this weapon....

pawn Код:
if(!strcmp(NPCName, "Ypterko", true))
        {
            SetPlayerArmour(playerid, 100);
            GivePlayerWeapon(playerid, 38, 5000);
            SetPlayerSkin(playerid, 208);
        }
This wont work on NPC.
Reply
#10

You don't even need any recordings or special plugins for static NPCs. Just connect it and set its position in OnPlayerSpawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)