Server Help

ASSS Custom Projects - i have got an odd error.

tcsoccerman - Thu Jul 12, 2007 2:25 pm
Post subject: i have got an odd error.
Fixed last error. New error:

Code: Show/Hide
two or more data types in declaration of `read_settings'


comes from this line:

Code: Show/Hide
local void read_settings(Arena *arena);


i declare that funcion here:

Code: Show/Hide
local void read_settings(Arena *arena)
{
      ConfigHandle ch = arena->cfg;
      struct adata *ad = P_ARENA_DATA(arena, adkey);
      ad->reward = cfg->GetInt(ch, "CP", "Reward", 200);
      ad->reward = cfg->GetInt(ch, "CP", "RewardType", 0);
      ad->nuetral_id = cfg->GetInt(ch, "CP", "NuetralID", 0);
      ad->red_id = cfg->GetInt(ch, "CP", "RedTeamID", 1);
      ad->blue_id = cfg->GetInt(ch, "CP", "BlueTeamID", 2);
     
}


Help is appreciated.
Smong - Thu Jul 12, 2007 5:59 pm
Post subject:
Have you made any new data types/structs? Or it could be something to do a missing } or you accdientally deleted #include "asss.h" (unlikely).
tcsoccerman - Thu Jul 12, 2007 6:23 pm
Post subject:
I fixed it, although i forgot how :\. Was rushing through it.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group