CameraPos at Sprunk billboard - 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: CameraPos at Sprunk billboard (
/showthread.php?tid=65896)
CameraPos at Sprunk billboard -
Henrix - 17.02.2009
Hi there.
I'm making a server and i want the RequestPlayerClass thing set in this place:
I want the player at the hole in the billboard.
And cameraposition as on the picture, but then a little bit closer.
I tried many times to make it, but everytime the camera is set to the bridge on the left.
Can someone please script this thing for me?
Re: CameraPos at Sprunk billboard -
Jack_Revan - 17.02.2009
Try this one.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2170.7822,-1518.9120,24.6811);
SetPlayerCameraPos(playerid,2163.7644,-1538.3567,27.3073);
SetPlayerCameraLookAt(playerid, 2170.4592,-1520.0314,23.5625);
return 1;
}
Re: CameraPos at Sprunk billboard -
Henrix - 17.02.2009
I placed it in my script, but now i see that it isn't possible, because there isn't an hole in it always.
So i don't see my skins because there isnt a hole.
Thank you very much for helping me, but it's not really possible i think.
Re: CameraPos at Sprunk billboard -
Jack_Revan - 17.02.2009
I just noticed that there isn't a hole. If you want to I can put the player infront of the sign.
Re: CameraPos at Sprunk billboard -
Henrix - 17.02.2009
There is an hole, but not always.
But nah, i don't need it then.
Thanks for helping anyway
Re: CameraPos at Sprunk billboard -
Think - 17.02.2009
you need to shoot on the 'hole' than it will appear
Re: CameraPos at Sprunk billboard -
beckzy - 17.02.2009
You could use CreateExplosion to make the hole