onplayerdeath
#1

hello, normally if a player die then the camera view is going down to up.
Is it possible to change the camera view of a player if he die? from side

Thanks
Reply
#2

I think you can use https://sampwiki.blast.hk/wiki/AttachCameraToObject if you want it to view a certain place when a player dies.
Reply
#3

pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
    SetPlayerCameraPos(playerid, ......);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    SetCameraBehindPlayer(playerid);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)