RSSy MYGO.pl Opublikowano Maj 25, 2021 o 04:25 RSSy Udostępnij Opublikowano Maj 25, 2021 o 04:25 Implement native functions to allow manipulation and retrieval of entities' m_ResponseContexts values from plugins. This is useful for some maps. https://developer.valvesoftware.com/...ivator_context Code: native int Context_GetContextCount(int entity); native int Context_GetContextName(int entity, int index, char[] buffer, int maxlen); native int Context_GetContextValue(int entity, int index, char[] buffer, int maxlen); native int Context_FindContextByName(int entity, const char[] contextName); native int Context_GetContextValueByName(int entity, const char[] contextName, char[] buffer, int maxlen); native bool Context_AddContext(int entity, const char[] context); native bool Context_ClearContext(int entity); native bool Context_RemoveContext(int entity, const char[] contextName); Attached Files Get Plugin or Get Source (ContextManager.sp - 9.0 KB) ContextManager.inc (1.3 KB) ContextManager.games.txt (1.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi