Salut.
Ar putea fi mai multe cauze care sa nu te lase sa rulezi hack-ul.
1.In prima data trebuie sa te asiguri ca folosesti un cs pe care merg codurile (Egzista multe cs-uri pe care nu merg)
2.Fi sugur ca cs-ul tau este setat la video pe OpenGL
Pai te referi ca nu suporta modul openGL?
Daca da atunci asigurate ca ai instalat driverul la placa video
![]()
Nu stiu ce sa spun...
Daca te pricepi la servere de cs ai putea modifica un plugin esp si sa-l pui sa ruleze cand esti viu.Si sa ti-l instalezi cs-ului.
Eu nu am facut asta niciodata dar ar putea functiona.
O sa incerc sa-ti modific pluginul esp si revin cu alt reply.
Poftim, incearca asta:
/* AMX Mod X - Script
*
* Admin Spectator ESP v1.3
* Copyright (C) 2006 by KoST
*
* this plugin along with its compiled version can de downloaded here:
* http://www.amxmodx.org/forums/viewtopic.php?t=24787
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* or download here: http://www.gnu.org/licenses/gpl.txt
*
* In addition, as a special exception, the author gives permission to
* link the code of this program with the Half-Life Game Engine ("HL
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
* L.L.C ("Valve"). You must obey the GNU General Public License in all
* respects for all of the code used other than the HL Engine and MODs
* from Valve. If you modify this file, you may extend this exception
* to your version of the file, but you are not obligated to do so. If
* you do not wish to do so, delete this exception statement from your
* version.
*/
//--------------------------------------------------------------------------------------------------
#include
#include
// Here you can adjust the required admin level if needed
// there is a list of all levels http://www.amxmodx.org/funcwiki.php?go=module&id=1#const_admin
#define REQUIRED_ADMIN_LEVEL ADMIN_KICK
//--------------------------------------------------------------------------------------------------
#define PLUGIN "Admin Spectator ESP"
#define VERSION "1.3"
#define AUTHOR "KoST"
enum {
ESP_ON=0,
ESP_LINE,
ESP_BOX,
ESP_NAME,
ESP_HEALTH_ARMOR,
ESP_WEAPON,
ESP_CLIP_AMMO,
ESP_DISTANCE,
ESP_TEAM_MATES,
ESP_AIM_VEC,
}
new bool:admin[33] // is/is not admin
new bool:first_person[33] //is/is not in first person view
new spec[33] // spec[player_id]=the players id if
new laser // precached model
new max_players // if you start hlds with +maxplayers 20 for example this would be 20
new team_colors[4][3]={{0,0,0},{150,0,0},{0,0,150},{0,150,0}}
new esp_colors[5][3]={{0,255,0},{100,60,60},{60,60,100},{255,0,255},{128,128,128}}
new bool:ducking[33] //is/is not player ducked
new damage_done_to[33] //damage_done_to[p1]=p2 // p1 has hit p2
new view_target[33] // attackers victim
new bool:admin_options[33][10] // individual esp options
new bool:is_in_menu[33] // has esp menu open
// weapon strings
new weapons[30][10]={"None","P228","Scout","HE","XM1014","C4",
"MAC-10","AUG","Smoke","Elite","Fiveseven",
"UMP45","SIG550","Galil","Famas","USP",
"Glock","AWP","MP5","M249","M3","M4A1",
"TMP","G3SG1","Flash","Deagle","SG552",
"AK47","Knife","P90"}
public plugin_precache(){
laser=precache_model("sprites/laserbeam.spr")
}
public plugin_init(){
register_plugin(PLUGIN, VERSION, AUTHOR)
server_print("^n^t%s v%s, Copyright (C) 2006 by %s^n", PLUGIN, VERSION, AUTHOR)
// cvars
register_cvar("esp","1")
register_cvar("esp_timer","0.3")
register_cvar("esp_allow_all","0")
register_cvar("esp_disable_default_keys","0")
register_cvar("aesp_version",VERSION,FCVAR_SERVER|FCVAR_UNLOGGED|FCVAR_SPONLY)
// client commands
register_clcmd("esp_menu","cmd_esp_menu",REQUIRED_ADMIN_LEVEL,"Shows ESP Menu")
register_clcmd("esp_toggle","cmd_esp_toggle", REQUIRED_ADMIN_LEVEL,"Toggle ESP on/off")
register_clcmd("say /esp_menu","cmd_esp_menu", REQUIRED_ADMIN_LEVEL,"Shows ESP Menu")
register_clcmd("say /esp_toggle","cmd_esp_toggle", REQUIRED_ADMIN_LEVEL,"Toggle ESP on/off")
register_clcmd("esp_settings","cmd_esp_settings", REQUIRED_ADMIN_LEVEL," ESP adasdsassdasd")
// events
register_event("StatusValue","spec_target","bd","1=2")
register_event("SpecHealth2","spec_target","bd")
register_event("TextMsg","spec_mode","b","2Spec_Mode")
register_event("Damage", "event_Damage", "b", "2! 0", "3=0", "4! 0")
register_event("ResetHUD", "reset_hud_alive", "be")
// menu
new keys=MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9
register_menucmd(register_menuid("Admin Specator ESP"), keys,"menu_esp")
max_players=get_maxplayers()
// start esp_timer for the first time
set_task(1.0,"esp_timer")
}
public reset_hud_alive(id){
spec[id]=0
return PLUGIN_CONTINUE
}
public cmd_esp_settings(id){
if (admin[id]){
new out[11]
read_argv(1,out,10)
new len=strlen(out)
for (new i=0; i0) {
new attacker=get_user_attacker(id)
if (attacker>0 && attacker0){
new target=read_data(2)
if (target!=0){
spec[id]=target
}
}
return PLUGIN_CONTINUE
}
public client_putinserver(id){
first_person[id]=false
if ((get_user_flags(id) & REQUIRED_ADMIN_LEVEL) || get_cvar_num("esp_allow_all")==1){
admin[id]=true
init_admin_options(id)
}else{
admin[id]=false
}
}
public init_admin_options(id){
for (new i=0; i