Witam mam maly problem z Paintball Modem, mianowicie jak zrestartuje serwer nie mozna strzelac az do zmiany mapy, w say jak napisze /ent mam:
[Ent Info (Current/Max)] Paintballs: (1/100) Entities: (229/1260) po restarcie.
[Ent Info (Current/Max)] Paintballs: (100/100) Entities: (229/1260) po zmianie mapy gdy moge strzelac.
Czesto tez zdarza sie ze i nie tylko po restarcie nie moge strzelac ale tez jak jest wiecej ludzi na serwerze 20+
Wiem ze jest cos nie tak w paintballgun.amxx ale co tego nie wiem.
Moze ta linijka odpowiada za to?
new a, max_ents_allow = global_get(glb_maxEntities) - 5;
for (a = 1; a <= get_pcvar_num(shots); a++)
if (a < MAX_PAINTBALLS)
if (engfunc(EngFunc_NumberOfEntities) < max_ents_allow)
{
g_paintballs[a] = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target"));
if (pev_valid(g_paintballs[a]))
{
set_pev(g_paintballs[a], pev_effects, pev(g_paintballs[a], pev_effects) | EF_NODRAW);
g_pbcount++;
}
}
if (g_pbcount < 1)
set_fail_state("[AMXX] Failed to load Paintball Gun (unable to create ents)");
server_print("*** %s v%s by %s Enabled ***", PLUGIN, VERSION, AUTHOR);
Serwer na Pukawce, nigdy nie mialem z tym problemu tylko na Pukawce mam
proszę mi pomoc w Was cala nadzieja.
Z gory dziekuje.