RSSy MYGO.pl Opublikowano Listopad 15, 2021 o 17:36 RSSy Udostępnij Opublikowano Listopad 15, 2021 o 17:36 Hi guys i have this plugin and want when the Player VIP jump from a long way to earth see a message YELLOW Color Everywhen jump from a long way to earth Falling damage absorbed due vip access! VIP ACCESS_ ADMIN_LEVEL_H PHP Code: #include <amxmodx> #include <hamsandwich> #include <engine> new const PLUGIN[] = "[ No Fall Damage ]"; new const VERSION[] = "[ 2.0 ]"; new const DATE[] = "[ 08 Juin 2021 ]"; new cvar_falldamage; public plugin_init() { register_plugin("PLUGIN", "VERSION", ""); RegisterHam(Ham_TakeDamage, "player", "Fw_Damage"); register_concmd("ver_fde", "Code_Version"); cvar_falldamage = register_cvar("fde_falldamage", "50", ADMIN_BAN); } public Code_Version(id) { console_print(id, "=============================="); console_print(id, "%s v%s", PLUGIN, VERSION); console_print(id, "%s", DATE); console_print(id, "=============================="); } public Fw_Damage(victim, inflictor, attacker, Float:damage, dmgbits) { if(dmgbits == DMG_FALL) { new Float:multiplier = Float:(get_pcvar_num(cvar_falldamage) / 0); SetHamParamFloat(4, damage * multiplier); } } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ ansicpg1252\\ deff0\\ deflang1036{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par } */ Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi