SA-MP Forums Archive
Store Clerk Person Object <-- Question! - 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: Store Clerk Person Object <-- Question! (/showthread.php?tid=473447)



Store Clerk Person Object <-- Question! - hewittpro - 02.11.2013

In some servers i've seen when you walk into a 24/7 they have a clerk there but he doesn't do anything just stands. Is that actually an NPC or can you create a person object? How do they do that without taking up a slot? It just doesn't seem reasonable to have like 30 NPCs just as store clerks to stand there? Thanks guys!


Re: Store Clerk Person Object <-- Question! - hewittpro - 03.11.2013

Anyone


Re: Store Clerk Person Object <-- Question! - Chasm - 03.11.2013

NPC. Who doesn't do anything. I am not 100% sure.


Re: Store Clerk Person Object <-- Question! - DanishHaq - 03.11.2013

I've never tried it but you could try CreateObject(skinid, .......); skins are objects at the end of the day. If that won't work, then just make an NPC that just stands there and does nothing.


Re: Store Clerk Person Object <-- Question! - Unte99 - 03.11.2013

Probably an NPC. You could check by hitting him. If the person responds by moving due to your hit, then it's an NPC. I have seen an NPC as an object in sa-mp map editor, but actually never tried it. Hope I helped you.