View Single Post
JoshGomez
Member
Join Date: Apr 2006
Location: Sweden
Old 02-16-2008 , 06:24   Re: Execution (Gears of War) 1.0 - 16/02/08
Reply With Quote #9

But if you update the pcvar the cvar won't change.

I have remove the engine & and cstrike module now, I can't get block jump to work.
Code:
public fm_cmd_start(id,uc_handle,seed) {     if((get_pcvar_num(cvar_execution) != 1) || (!is_user_alive(id)))     {         return FMRES_IGNORED;     }       new button = get_uc(uc_handle,UC_Buttons);         if(g_player_downed[id])     {         if(button & IN_ATTACK)         {             button &= ~IN_ATTACK;             set_uc(uc_handle,UC_Buttons,button);         }                 if(button & IN_ATTACK2)         {             button &= ~IN_ATTACK2;             set_uc(uc_handle,UC_Buttons,button);         }                 if(button & IN_JUMP)         {             button &= ~IN_JUMP;             set_uc(uc_handle,UC_Buttons,button);         }     }         if(button & IN_USE)     {         g_player_use[id] = true;     }     else if(button & ~IN_USE)     {         g_player_use[id] = false;     }         return FMRES_HANDLED; }

Last edited by JoshGomez; 02-16-2008 at 07:27.
JoshGomez is offline