Change Image - 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: Change Image (
/showthread.php?tid=149553)
Change Image -
InsaneESN - 22.05.2010
Does anyone know how change this picture? I searched on GM after coordinated but I found nothing ..
Thanks
Re: Change Image -
[MWR]Blood - 22.05.2010
Try setting the camera pos after onplayerconnect?
Re: Change Image -
InsaneESN - 22.05.2010
I do not understand what I mean
Re: Change Image -
[MWR]Blood - 22.05.2010
Quote:
Originally Posted by InsaneESN
I do not understand what I mean
|
Not my fault
pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerCameraPos(playerid,cameraposX,cameraposY,cameraposZ);
return 1;
}
Re: Change Image -
InsaneESN - 22.05.2010
not work
I took the coordinates from a helicopter, right?
Re: Change Image -
FreddeN - 22.05.2010
Quote:
Originally Posted by InsaneESN
not work
I took the coordinates from a helicopter, right?
|
You maybe need this:
Код:
SetPlayerPos(playerid, 1464.7906,-883.3133,55.8674);
SetPlayerCameraPos(playerid, 1464.7906,-883.3133,55.8674);
SetPlayerCameraLookAt(playerid, 1415.3538,-807.9126,85.0615);
The "SetPlayerPos" are for the world to not fade away when you are in the camera view.
The "SetPlayerCameraPos" are the camera position.
The "SetPlayerCameraLookAt" Is for what direction the camera should point at or basicly look at.
This coords are just for an example, try it.
Re: Change Image -
InsaneESN - 22.05.2010
it's Work
Thanks
Edit: Change image only when I restart the server when I connect to it all is that old