Thread: Tag mismatch
View Single Post
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 08-15-2020 , 04:10   Re: Tag mismatch
Reply With Quote #5

Quote:
Originally Posted by papel View Post
Thank you, Weetabix!
But it did not work
The amount of tag mismatch has increased

Code:
public Action:Event_player_death(Handle:event, const String:name[], bool:dontBroadcast) {

	if(!roundend) {
		new client = GetClientOfUserId(GetEventInt(event, "userid"));			
		new attacker = GetClientOfUserId(GetEventInt(event, "attacker"));
		
		if(client!=0 && attacker!=0) {
			if(!IsFakeClient(client)&&!IsFakeClient(attacker)&&client!=attacker) {

				decl String:sWeapon[64];
				GetEventString(event, "weapon", sWeapon, sizeof(sWeapon));
								
				decl int:sHead; 
				int headShotPoint = 0;
				sHead = GetEventInt(event, "headshot");

				if (sHead) { headShotPoint = HEAD_SHOT_POINT; }
PHP Code:
decl int:sHead
>
PHP Code:
int sHead
(GetEventInt)
Kellan123 is offline