View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-15-2023 , 15:36   Re: FM_ShouldCollide is never called.
Reply With Quote #6

Quote:
Originally Posted by JusTGo View Post
Are using ReHLDS? also show your code so we can reproduce it
Yeah,

PHP Code:
public plugin_init()
register_forward(FM_ShouldCollide"pfnShouldCollide", ._post false);

public 
pfnShouldCollide(const touched, const passedict)
{
    
cprint_chat(0_"Colliding %d >< %d"touchedpassedict);

    if(
pev(touchedNPC_ID) == pev(passedictNPC_ID))
    {
        
//forward_return(FMV_CELL, 0);
    
}

This is never called, and yesi am using rehlds and regamedll
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh