new lastskin;lastskin = GetPlayerSkin(playerid);SetPlayerSkin(killer,lastskin);
public OnPlayerDeath( playerid, killerid, reason ) { static skinID = GetPlayerSkin( playerid ); // ...