Hola, Yo uso el Blockmaker y en ese block maker esta el bloque de bunnyhop (No Slow Down), y mi problema es que cuando alguien esta buneando en los bloques y otro jugador se pone abajo y salta hace que el bloque se active y el que esta buneando caiga, en otras palabras bugea el bloque, hay alguna forma de hace que no pase eso ?, Dejo el codigo del bloque del bunnyhop:
Creo que es ese.
Saludos xGreat.
Código PHP:
public pfn_touch(ent, id)
{
//if touch event involves a player
if (id > 0 && id <= 32)
{
//if player is alive
if (is_user_alive(id))
{
//if entity involved is a block
if (isBlock(ent))
{
//get the blocktype
new blockType = entity_get_int(ent, EV_INT_body);
//if blocktype is a bunnyhop block or barrier
if (blockType == BM_BHOP || blockType == BM_BARRIER_CT || blockType == BM_BARRIER_T || blockType == BM_BHOP_NOSLOW || blockType == BM_DELAYEDBHOP || blockType == BM_NOFALLDAMAGEBHOP)
{
//if task does not already exist for bunnyhop block
if (!task_exists(TASK_BHOPSOLIDNOT + ent) && !task_exists(TASK_BHOPSOLID + ent))
{
//get the players team
new CsTeams:team = cs_get_user_team(id);
//if players team is different to barrier
if (blockType == BM_BARRIER_CT && team == CS_TEAM_T)
{
//make block SOLID_NOT without any delay
taskSolidNot(TASK_BHOPSOLIDNOT + ent);
}
else if (blockType == BM_BARRIER_T && team == CS_TEAM_CT)
{
//make block SOLID_NOT without any delay
taskSolidNot(TASK_BHOPSOLIDNOT + ent);
}
else if (blockType == BM_BHOP || blockType == BM_BHOP_NOSLOW || blockType == BM_NOFALLDAMAGEBHOP)
{
//set bhop block to be SOLID_NOT after 0.1 seconds
set_task(0.1, "taskSolidNot", TASK_BHOPSOLIDNOT + ent);
}
else if (blockType == BM_DELAYEDBHOP) {
set_task(2.0, "taskSolidNot", TASK_BHOPSOLIDNOT + ent);
}
}
}
}
}
}
return PLUGIN_CONTINUE;
}
Creo que es ese.
Saludos xGreat.