Hello all
I have this code, and I can not use it and I need you, I want to get [source code] in order to facilitate the completion of the project or to complete a project and then give me a Dll file
the Code:
Code:
bool is_sniper(){
weaponInfo_t* weap = GetWeaponInfo(cg_entities[cg->clientNum].weapon);
return (weap->displayName == "WEAPON_REMINGTON700" || weap->displayName == "WEAPON_M40A3" ) ? true : false;
}
the Code:
Code:
int old_time;
void sniper_flood(int i){
weaponInfo_t* weap = GetWeaponInfo(cg_entities[cg->clientNum].weapon);
if(old_time < cg->snap->ServerTime - 3000){
old_time = cg->snap->ServerTime;
if(!is_sniper()){
SendCommandToConsole("openscriptmenu quickpromod sniper");
if(is_sniper()){
menu[14].turned = false;// turn off in the menu
SendCommandToConsole("Sniper loaded!");
}
}
}
}
Please fastest in helping me