ok im trying to make a semi-clip plugin, all i have is
PHP Code:
public Touch_Player(id, otherPlayer)
{
if(!g_bModifyMode[id] && !g_bModifyMode[otherPlayer] && g_bIsSurf)
{
clearAirRecords(id) //Exploit Fix.
if(g_NoClip) {
if(entity_get_int(id, EV_INT_solid) != SOLID_NOT)
entity_set_int(id, EV_INT_solid, SOLID_NOT)
if(entity_get_int(otherPlayer, EV_INT_solid) != SOLID_NOT)
entity_set_int(otherPlayer, EV_INT_solid, SOLID_NOT)
//Allow players to jump/stack on each other
new buttonPressed = entity_get_int(id, EV_INT_button)
if( (buttonPressed & IN_JUMP) ) {
new Float:jVel[3]
entity_get_vector(id,EV_VEC_velocity,jVel)
jVel[2] = 375.0
entity_set_vector(id,EV_VEC_velocity,jVel)
}
}
}
}
from OneEyed's Surf_olympics plugin but i need help finishing it bc i dont have time to =/, will someone help?
__________________