31.01.2014, 09:33
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?
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?
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;
}