11.11.2012, 12:34
ok so at the top write
pawn Code:
new login;
pawn Code:
login = 1;
SetSpawnInfo(extraid, 0, playerInfo[extraid][pModel], playerInfo[extraid][pPos][0], playerInfo[extraid][pPos][1], playerInfo[extraid][pPos][2], 1.0, -1, -1, -1, -1, -1, -1);
SetCameraBehindPlayer(extraid);
SetPlayerInterior(extraid, playerInfo[extraid][pInterior]);
SetPlayerVirtualWorld(extraid, playerInfo[extraid][pVirtualWorld]);
SetPlayerSkin(extraid, playerInfo[extraid][pModel]);
SetPlayerHealth(extraid,0);
login==1;
SpawnPlayer(extraid);
SetTimerEx("SkinDelay", 1000, false, "d", extraid);
pawn Code:
//underOnPlayerDeath
if(login == 0)
{
Deaths [playerid] ++; //or any other u use
}
pawn Code:
//underOnPlayerspawn
login = 0;