NPC:OnPlayerStreamIn not working?
#1

So I was doing some logic on my npcs as they're a seperate thread, etc etc.

Anyway OnPlayerStreamIn doesn't seem to register or even get called at all, not for players, not for other NPCs, am I using it wrong?

pawn Код:
public OnPlayerStreamIn(playerid)
{
    printf("FOUND %i",playerid);
    return 1;
}
also is there a way to obtain the NPC's playerid inside his NPC script without having to master/slave with my gamemode/filterscript using SendClientMessage/SendChat?
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerStreamIn
Reply
#3

https://sampwiki.blast.hk/wiki/NPC:OnPlayerStreamIn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)