 |
|
Member
Join Date: May 2011
Location: Venezuela xd
|

05-04-2013
, 16:32
Re: [ZA] Error con respawn de zombie..!
|
#5
|
Quote:
No me habéis pedido ayuda, así que no digáis que no os ayudo.
Encontré el bug, gracias por reportar, estará pendiente en la próxima actualización
Esto debería corregirlo (no lo he probado)
ir a
PHP Code:
public fw_PlayerSpawn_Post(id)
y cambiar esto:
PHP Code:
// Reset player vars
reset_vars(id, 0, 0)
// Spawn as zombie?
if (g_respawn_as_zombie[id] && !g_newround)
{
zombieme(id, 0, 0, 0, 0) // make him zombie right away
return;
}
-->
PHP Code:
// Spawn as zombie?
if (g_respawn_as_zombie[id] && !g_newround)
{
reset_vars(id, 0, 0) // reset player vars
zombieme(id, 0, 0, 0, 0) // make him zombie right away
return;
}
// Reset player vars
reset_vars(id, 0, 0)
|
voy a probarlo y te aviso
__________________
Steam: alouser2
|
|
|
|