Witam mam problem z wygenerowaniem Vipa z generatora Amxx.pl nie wiem co robie źle proszę o pomoc.
#include <amxmodx> #include <cstrike> #include <fakemeta> #include <fun> #include <hamsandwich> #define DMG_HE (1<<24) #define IsPlayer(%1) (1<=%1<=maxPlayers) new CsArmorType:armortype, bool:g_Vip[33], ioid, maxPlayers; public plugin_init(){ register_plugin("VIP Ultimate", "12.3.0.2", "benio101 & speedkill"); RegisterHam(Ham_Spawn, "player", "SpawnedEventPre", 1); RegisterHam(Ham_TakeDamage, "player", "takeDamage", 0); } public client_authorized(id){ if(get_user_flags(id) & 786690 == 786690){ client_authorized_vip(id); } } public client_authorized_vip(id){ g_Vip[id]=true; } public client_disconnect(id){ if(g_Vip[id]){ client_disconnect_vip(id); } } public client_disconnect_vip(id){ g_Vip[id]=false; } public SpawnedEventPre(id){ if(g_Vip[id]){ if(is_user_alive(id)){ SpawnedEventPreVip(id); } } } public SpawnedEventPreVip(id){ cs_set_user_armor(id, min(cs_get_user_armor(id,armortype)+100, 100), CS_ARMOR_VESTHELM); new sgnum=(user_has_weapon(id,CSW_SMOKEGRENADE)?cs_get_user_bpammo(id,CSW_SMOKEGRENADE):0); give_item(id, "weapon_smokegrenade"); ++sgnum; } public plugin_cfg(){ maxPlayers=get_maxplayers(); } public takeDamage(this, idinflictor, idattacker, Float:damage, damagebits){ if(((IsPlayer(idattacker) && is_user_connected(idattacker) && g_Vip[idattacker] && (ioid=idattacker)) || (ioid=pev(idinflictor, pev_owner) && IsPlayer(ioid) && is_user_connected(ioid) && g_Vip[ioid]))){ if(damagebits & DMG_HE){ damage*=(100+10)/100; } } }
Komplikacje
<html> <head><title>404 Not Found</title></head> <body bgcolor="white"> <center><h1>404 Not Found</h1></center> <hr><center>nginx/0.7.67</center> </body> </html>