damage take
#1

hey guys i have a sistem when someone kill's you when you work you get a message like "batman killed you , press f8 to take a screenshot and post it to .... " but sometimes when someone shot your car until explodes it give me "unknown killed you etc.." what can i do if you died from an explode cause a player shot your car to give you his name instead of "unknown" ?

Код HTML:
if(VehTruckID[playerid] != -1)
	{
		vDBID[ VehTruckID[playerid] ] = 0;
	    DestroyVehicle(VehTruckID[playerid]);
		VehTruckID[playerid] = -1;
		Truckers--;
		DisableRemoteVehicleCollisions(playerid, 0);
		InJob[playerid] = 0;
		JobCollect[playerid] = 0;
		PlayerTextDrawHide(playerid, HelpTextdraw[playerid]);
		format(gString, sizeof(gString), "(!) Ai fost omorit de {FFFFFF}%s {A9C4E4}in timp ce lucrai, fa o poza {FFFFFF}F8 {A9C4E4}si fa o reclamatie pe {FFFFFF}/panel", GetName(killerid));
		SendClientMessage(playerid, COLOR_SYN2,gString);
		CP[playerid] = 0;
		DisablePlayerCheckpoint(playerid);
		PlayerTextDrawHide(playerid, ExamTextdraw[playerid]);

		PlayerInfo[playerid][pJobKiller] += 1;
		Update(playerid, pJobKillerx);
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)