Quote:
Originally Posted by Silvers
env_instructor_hint
|
I use env_instructor_hint silver
but it seems that it doesn't work in l4d1 or I'm doing something wrong
PHP Code:
char sTemp[64];
int entity = CreateEntityByName("env_instructor_hint");
Format(sTemp, sizeof(sTemp), "hint%d", client);
DispatchKeyValue(client, "targetname", sTemp);
DispatchKeyValue(entity, "hint_target", sTemp);
DispatchKeyValue(entity, "hint_timeout", sTemp);
DispatchKeyValue(entity, "hint_range", "0.01");
DispatchKeyValue(entity, "hint_icon_onscreen", "icon_key_up");
DispatchKeyValue(entity, "hint_caption", "Test");
DispatchKeyValue(entity, "hint_color", "255 255 255");
DispatchSpawn(entity);
AcceptEntityInput(entity, "ShowHint");