public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][pKills]++;
PlayerInfo[playerid][pDeaths]++;
SendClientMessage(playerid,COLOR_LIGHTRED,"(( You have lost 30 minutes if memory, You CAN'T return to the position when you died ...");
SendClientMessage(playerid,COLOR_LIGHTRED,"... Unless told to by either an Admin or Faction Leader ))");
SendClientMessage(playerid,COLOR_WHITE,"[DOCTOR]: Try and not get injured next time.");
SetPlayerPos(playerid, 1176.6326,-1325.5374,14.0309,270.0000);//Here is line 577
return 1;
}
public OnPlayerDeath(playerid, killerid, reason) { PlayerInfo[killerid][pKills]++; PlayerInfo[playerid][pDeaths]++; SendClientMessage(playerid,COLOR_LIGHTRED,"(( You have lost 30 minutes if memory, You CAN'T return to the position when you died ..."); SendClientMessage(playerid,COLOR_LIGHTRED,"... Unless told to by either an Admin or Faction Leader ))"); SendClientMessage(playerid,COLOR_WHITE,"[DOCTOR]: Try and not get injured next time."); SetPlayerPos(playerid, 1176.6326,-1325.5374,14.0309);//Here is line 577 SetPlayerFacingAngle( playerid, 270 ); return 1; }
Код:
public OnPlayerDeath(playerid, killerid, reason) { PlayerInfo[killerid][pKills]++; PlayerInfo[playerid][pDeaths]++; SendClientMessage(playerid,COLOR_LIGHTRED,"(( You have lost 30 minutes if memory, You CAN'T return to the position when you died ..."); SendClientMessage(playerid,COLOR_LIGHTRED,"... Unless told to by either an Admin or Faction Leader ))"); SendClientMessage(playerid,COLOR_WHITE,"[DOCTOR]: Try and not get injured next time."); SetPlayerPos(playerid, 1176.6326,-1325.5374,14.0309);//Here is line 577 SetPlayerFacingAngle( playerid, 270 ); return 1; } Edited to include facing angle |