fix xp credited on specific weapons

This commit is contained in:
Lorenc Pekaj 2018-10-04 06:29:48 +10:00
parent acd524163d
commit 60cf953710

View File

@ -4810,10 +4810,10 @@ public OnPlayerDeath( playerid, killerid, reason )
Float: default_experience = 1.0;
switch ( reason ) {
case 23: default_experience = 1.5;
case 25: default_experience = 1.25;
case 24: default_experience = 1.5;
case 25, 23: default_experience = 1.25;
case 26: default_experience = 0.8;
case 34: default_experience = 1.75;
case 34, 33: default_experience = 2.0;
}
GivePlayerExperience( killerid, E_DEATHMATCH, default_experience );
}