View Single Post
Author Message
karaulov
Senior Member
Join Date: Jul 2018
Old 11-21-2020 , 05:27   enum conflict with arguments bug report
Reply With Quote #1

HOW TO BUG REPORT ?

Code:
AMX Mod X 1.10.0.5406
Authors: 
         David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
         Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
         Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
         Scott "DS" Ehlert
Compiled: Jul 17 2020, 02:06:23
URL:http://www.amxmodx.org/
Core mode: JIT

Code:
enum _:MEHp { dmg, lasthit, victim, killerid, killername[32], Float:distance, Float:hpkiller, Float:apkiller };

public client_death(killer, victim, wpnindex, hitplace, TK)
{
	log_message("client_death: %i / %i", killer, victim)

}
In log file, victim always == 2

client_death: 1 / 2

client_death: 5 / 2


In compiler no warning!

Last edited by karaulov; 11-21-2020 at 05:57.
karaulov is offline