View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-20-2018 , 05:24   Re: Force player duck without Orpheu
Reply With Quote #21

PHP Code:
/**
 * Sets the value of a member of a struct given a struct handler and the member name
 * 
 * @param struct         A handler to the struct
 * @param memberName     The name of the member of the struct we want to deal with
 * @param any             The new value
 */
native OrpheuSetStructMember(OrpheuStruct:struct,const memberName[],any:...) 
On one line you have
PHP Code:
OrpheuSetStructMember(ppmove "flags"OrpheuGetStructMember(ppmove"flags" ) & FL_DUCKING
yet on the other one you have
PHP Code:
OrpheuSetStructMember(ppmoveOrpheuGetStructMembercmd"buttons" ), OrpheuGetStructMembercmd"buttons" ) & IN_DUCK
Do you see the difference?
__________________
klippy is offline