28.09.2009, 16:22
It's because you cant look for information properly. Normal sa-mp functions CAN NOT be used inside the NPC scripts. Only the functions posted here: https://sampwiki.blast.hk/wiki/Category:NPC can be used there. Search next time as it has been answered many times.