SA-MP Forums Archive
SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt n00b question - 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: SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt n00b question (/showthread.php?tid=238941)



SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt n00b question - anant - 12.03.2011

so im not ashamed to say myself n00b.
I want to change the "coordinates" of the following code
Код:
 	    DOO_SetPlayerPos(playerid, 1544.7887,-1675.4630,13.5591);
	    SetPlayerCameraPos(playerid, 1541.5293,-1675.4012,13.5527);
	    SetPlayerCameraLookAt(playerid, 1544.7887,-1675.4630,13.5591);
To a place near glen park.
I have saved the coordinates with /save but when i put them into my gamemode and compile it, Start the game.. and when i go to the place where these coordinates start, my screen gets black!!..

(note : i didnt edit anything from the coordinates of savedpositions.txt... do i need to edit something in it o.0 )


Re: SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt n00b question - ricardo178 - 12.03.2011

Hum? This coordenates put you in a zone so to change this zone you need replace this coordenates for the new ones...