SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerDeath (/showthread.php?tid=128911)



OnPlayerDeath - cruising - 20.02.2010

Hello!

i have this on OnPlayerDeath
Код:
SetPlayerPos(playerid,1183.4017,-1297.4088,14.2143);
	SetPlayerCameraPos(playerid,1197.5721,-1325.6716,26.9214);
	SetPlayerCameraLookAt(playerid, 1177.6808,-1324.3663,14.0827);
But i want to change the coords, how do i get the right coords i want? can i do it when im in my server?
Im gonna have the camera look at a ambulance until the player spawns again.


Re: OnPlayerDeath - CJ101 - 20.02.2010

/save where you want it to be, then check saved_positions.txt


Re: OnPlayerDeath - [LSR]State_Trooper - 20.02.2010


/save where you want it to be, then check saved_positions.txt In your GTA Directory.


Re: OnPlayerDeath - cruising - 20.02.2010

Quote:
Originally Posted by [LSR
State_Trooper ]

/save where you want it to be, then check saved_positions.txt In your GTA Directory.
yeah i know that. but how do i know i got the right coords? it has to be 3 of them. where you are, where cam is and angle cam look at.


Re: OnPlayerDeath - armyoftwo - 20.02.2010

Use sandra's Freecam


Re: OnPlayerDeath - cruising - 20.02.2010

Quote:
Originally Posted by armyoftwo
Use sandra's Freecam
Seams to be deleted? didnt find it on search
i gues
Код:
	SetPlayerPos(playerid
	SetPlayerCameraPos(playerid
would be easy. SetPlayerCameraLookAt is harder when i want i low behind te ambulande and looking upp over the backdoors


Re: OnPlayerDeath - Correlli - 20.02.2010

Quote:
Originally Posted by cruising
Quote:
Originally Posted by armyoftwo
Use sandra's Freecam
Seams to be deleted? didnt find it on search
http://forum.sa-mp.com/index.php?topic=93435.0


Re: OnPlayerDeath - cruising - 20.02.2010

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by cruising
Quote:
Originally Posted by armyoftwo
Use sandra's Freecam
Seams to be deleted? didnt find it on search
http://forum.sa-mp.com/index.php?topic=93435.0
Thanks! but i cant use this, the /savecamtofile doesnt work