Code
RehashPropAllClient()
{
FrameAccess = false;
CreateTimer(GetConVarFloat(g_hT), OnTemeRefresh)
for (new i = 1; i <= MaxClients; i++)) // error 029: invalid expression, assume
{
if (GetClientTeam(i) == 2 && IsPlayerAlive(i) && !g_IgnorePlugin[i])
{
if(NoWalkClient(i))
{
new index = CreateEntityByName("prop_dynamic");
if (index > 0)
{
if (g_CoverOnThePlayer[i] == true) DeathPropClient(i)
new Float:EyeAngles[3];
GetClientEyeAngles(i, EyeAngles);
decl String:ang[20]
Format(ang, sizeof(ang), "0 %f 0", EyeAngles);
new Float:orign = GetEntPropFloat(i, Prop_Send, "m_vecOrigin");
decl String:model[255];
GetClientModel(i, model, sizeof(model));
DispatchKeyValueVector(index, "origin", "origin");
DispatchKeyValue(index, "angles", ang);
DispatchKeyValue(index, "model", model);
DispatchKeyValue(index, "solid", "0");
DispatchSpawn(index);
modelsid[i] = index
g_CoverOnThePlayer[i] = true;
}
}
}
}
}
А вот ошибки Code
wallhack-death.sp(120) : error 029: invalid expression, assume
wallhack-death.sp(122) : error 017: undefined symbol "i"
wallhack-death.sp(124) : error 017: undefined symbol "i"
wallhack-death.sp(129) : error 017: undefined symbol "i"
wallhack-death.sp(129) : error 017: undefined symbol "i"
wallhack-death.sp(131) : error 017: undefined symbol "i"
wallhack-death.sp(134) : error 017: undefined symbol "i"
wallhack-death.sp(136) : error 017: undefined symbol "i"
wallhack-death.sp(137) : warning 213: tag mismatch
wallhack-death.sp(142) : error 017: undefined symbol "i"
wallhack-death.sp(143) : error 017: undefined symbol "i"
Похоже ошибка error 017: undefined symbol "i", была последована за error 029: invalid expression, assume