Example of how you can initialize the enum struct without the warning (compiles but untested).
PHP Code:
enum struct Survivor1
{
char name[MAX_NAME_LENGTH];
char model[PLATFORM_MAX_PATH];
int prop;
char adminflags[16];
void Create(char name[MAX_NAME_LENGTH], char model[PLATFORM_MAX_PATH], int prop, char adminflags[16])
{
strcopy(this.name, MAX_NAME_LENGTH, name);
strcopy(this.model, PLATFORM_MAX_PATH, model);
this.prop = prop;
strcopy(this.adminflags, 16, adminflags);
}
}
public void OnPluginStart()
{
Survivor1 e;
e.Create("Ellis", "models/survivors/survivor_mechanic.mdl", 3, "bcd");
PrintToServer("%s %s %i %s", e.name, e.model, e.prop, e.adminflags);
}