Сообщение не выведется никому, если игрок под номером "id" не залогинен. Почему бы не использовать foreach + твою же SCM?
PHP код:
stock SCMTA(color, const message[])
{
foreach(new i: Player) SendClientMessage(i, color, message);
}
#if defined _ALS_SendClientMessageToAll
#undef SendClientMessageToAll
#else
#define _ALS_SendClientMessageToAll
#endif
Не выведется оно, так как перехват не доделан был
[Anticheat]___Invisible Fly Hack
[Anticheat]____Weapon/Ammo Hack
[Function]______ResetPlayerWeaponSlot
[Function]_______FIX_SetPlayerAmmo
[ServerMod]______TDM | Zombie Apokalypse
Исправь:
PHP код:
stock SCMTA(color, const message[])
{
foreach(new i: Player) SCM(i, color, message);
}
#if defined _ALS_SendClientMessageToAll
#undef SendClientMessageToAll
#else
#define _ALS_SendClientMessageToAll
#endif
#define SendClientMessageToAll SCMTA
Любой дурак может написать код, понятный компьютеру. Хороший программист пишет код, понятный человекуМартин Фаулер
Skype profan99 VK click
[Anticheat]___Invisible Fly Hack
[Anticheat]____Weapon/Ammo Hack
[Function]______ResetPlayerWeaponSlot
[Function]_______FIX_SetPlayerAmmo
[ServerMod]______TDM | Zombie Apokalypse
[Anticheat]___Invisible Fly Hack
[Anticheat]____Weapon/Ammo Hack
[Function]______ResetPlayerWeaponSlot
[Function]_______FIX_SetPlayerAmmo
[ServerMod]______TDM | Zombie Apokalypse
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)