Problem with SetSpawnInfo
#6

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;
Reply


Messages In This Thread
Problem with SetSpawnInfo - by Peach - 11.11.2012, 11:53
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 11:56
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 12:01
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 12:04
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 12:14
Re: Problem with SetSpawnInfo - by XtremeR - 11.11.2012, 12:34
Re: Problem with SetSpawnInfo - by Peach - 11.11.2012, 14:17

Forum Jump:


Users browsing this thread: 2 Guest(s)