N, H, Y can not be detected while spectating
#1

When a player is toggled spectating, the keys N, H and Y can not be detected.

Tested width
Код:
TogglePlayerSpectating(playerid, 1);

//...

public OnPlayerUpdate(playerid)
{
	new keys,ud,lr;
	GetPlayerKeys(playerid,keys,ud,lr);
	printf("OnPlayerUpdate keys: %d", keys);
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	printf("OnPlayerKeyStateChange: %d", newkeys);
}
When not spectating, they show up in the log.
When spectating, they don't show up in the log.

While spectating, all other detectable keys are detectable:
https://sampwiki.blast.hk/wiki/GetPlayerKeys


Sounds to a bug like me, and it's hard to make a workaround (basically , you can't set a player to spectating when wanting to detect the CONVERSATION_YES and CONVERSATION_NO keys)
Reply


Messages In This Thread
N, H, Y can not be detected while spectating - by ikkentim - 21.11.2012, 19:07
Re: N, H, Y can not be detected while spectating - by ScRaT - 21.11.2012, 22:29
Re: N, H, Y can not be detected while spectating - by ikkentim - 22.11.2012, 06:19
Re: N, H, Y can not be detected while spectating - by CoaPsyFactor - 22.11.2012, 09:44
Re: N, H, Y can not be detected while spectating - by SDraw - 23.12.2012, 17:09

Forum Jump:


Users browsing this thread: 1 Guest(s)