mirror of
https://github.com/kidfearless/output-info-plugin.git
synced 2025-12-07 10:28:22 +00:00
commit
4be595269c
@ -45,7 +45,14 @@ enum struct Output
|
|||||||
{
|
{
|
||||||
// Break it up into more managable parts
|
// Break it up into more managable parts
|
||||||
char entity[OUTPUTSIZE][MEMBER_SIZE];
|
char entity[OUTPUTSIZE][MEMBER_SIZE];
|
||||||
ExplodeString(buffer, "\e", entity, OUTPUTSIZE, MEMBER_SIZE);
|
if(GetEngineVersion() == Engine_CSS)
|
||||||
|
{
|
||||||
|
ExplodeString(buffer, ",", entity, OUTPUTSIZE, MEMBER_SIZE);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
ExplodeString(buffer, "\e", entity, OUTPUTSIZE, MEMBER_SIZE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.Target = entity[TARGETENTITY];
|
this.Target = entity[TARGETENTITY];
|
||||||
this.Input = entity[OUTPUTNAME];
|
this.Input = entity[OUTPUTNAME];
|
||||||
|
|||||||
@ -92,7 +92,7 @@ public Action OnLevelInit(const char[] mapName, char mapEntities[2097152])
|
|||||||
{
|
{
|
||||||
char[] entity = new char[next+1];
|
char[] entity = new char[next+1];
|
||||||
strcopy(entity, next, mapEntities[current]);
|
strcopy(entity, next, mapEntities[current]);
|
||||||
|
|
||||||
Entity ent;
|
Entity ent;
|
||||||
ent.Parse(entity);
|
ent.Parse(entity);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user