onplayerdeath - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: onplayerdeath (
/showthread.php?tid=373401)
onplayerdeath -
Crazyboobs - 30.08.2012
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
Re: onplayerdeath -
Jack.7331 - 30.08.2012
I think you can use
https://sampwiki.blast.hk/wiki/AttachCameraToObject if you want it to view a certain place when a player dies.
Re: onplayerdeath - HuSs3n - 30.08.2012
pawn Код:
public OnPlayerDeath(playerid,killerid,reason)
{
SetPlayerCameraPos(playerid, ......);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetCameraBehindPlayer(playerid);
}