PublicOnPlayerDeath(WHY,AM,I,NOT,WORKING)playerid, reason;
#1

1st Death from joining the server: You are given the Select a Class screen and see CJ's Skin and when you click this your spawned at 0,0,0

2nd Death from joining the server: it works properly and uses the code below
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
        SetSpawnInfo(playerid,0,PlayerInfo[playerid][pModel],1068.2227,-325.0952,73.9922,0,0,0,0,0,0,0);
	PlayerInfo[killerid][pTotalKills]++;
        PlayerInfo[playerid][pTotalDeaths]++;
	return 1;
}
Reply


Messages In This Thread
PublicOnPlayerDeath(WHY,AM,I,NOT,WORKING)playerid, reason; - by Skidmarks - 30.12.2011, 06:03
Re: PublicOnPlayerDeath(WHY,AM,I,NOT,WORKING)playerid, reason; - by AustinJ - 30.12.2011, 06:31
Re: PublicOnPlayerDeath(WHY,AM,I,NOT,WORKING)playerid, reason; - by Skidmarks - 30.12.2011, 07:10

Forum Jump:


Users browsing this thread: 1 Guest(s)