03.01.2014, 11:23
Partindo pra ignorвncia...
pawn Код:
public OnPlayerDeath(killerid, playerid, reason)
{
// ******************************************* //
SetTimer("MSGMorto", 1000, false, "i", playerid);
// ******************************************* //
new Float:X, Float:Y, Float:Z, Float:X2, Float:Y2;
GetXYInFrontOfPlayer(playerid, X2, Y2, -4);
GetPlayerPos(playerid, X, Y, Z);
SetPlayerCameraPos(playerid, X2, Y2, Z +3);
SetPlayerCameraLookAt(playerid, X, Y, Z);
return 1;
}
forward MSGMorto(playerid);
forward MSGMorto(playerid)
{
GameTextForPlayer(playerid,"~r~Morto",1000,0);
return 1;
}