i wasn't sure where to post this so sorry if this is the wrong section, css can now use env_hudhint which means css can also use the "KeyHintText" usermessage e.g
PHP Code:
new String:Message[10] = "hello";
new Handle:hBuffer = StartMessageOne("KeyHintText", client);
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer, Message);
EndMessage();
this shows a message on the bottom right of the screen, use
StartMessageAll("KeyHintText")
if you want to send a message to everyone.
if you want to use the entity way.
PHP Code:
new HHIndex = CreateEntityByName("env_hudhint");
if (HHIndex != -1)
{
DispatchKeyValue(HHIndex, "message", "hello");
DispatchKeyValue(HHIndex, "spawnflags", "1");
DispatchSpawn(HHIndex);
ActivateEntity(HHIndex);
AcceptEntityInput(HHIndex, "ShowHudHint");
}
i think this way will show to all clients.