Quote:
Originally Posted by Kaliber
Write it like this and check the logs out
PHP код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerAnimationIndex(playerid) != 0) printf("%d",GetPlayerAnimationIndex(playerid));
if(GetPlayerAnimationIndex(playerid) == 551) // 551 = this animation FOOD","FF_Sit_Eat3"??
{
SendClientMessage(playerid, 0xFF9900AA, "Test");
}
return 1;
}
|
Very thx friend, u r great +rep...