Дополнен 1 месяц назад
public OnPlayerText(playerid, text[])
{
new string[144];
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
ApplyAnimation(playerid, "PED", "IDLE_chat", 4.0, 0, 1, 1, 1, 1);
SetTimerEx("chatAnim", 3000, 0, "1", playerid);
}
format(string, sizeof(string), "%s (%d): $s", player_name, playerid, text);
ProxDetector(25, playerid, string, Color_White, Color_White, Color_White, Color_Grey, Color_Grey);
return false;
}
Ошибка: