[HELP] Creating Tutorial - 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: [HELP] Creating Tutorial (
/showthread.php?tid=350814)
[HELP] Creating Tutorial -
devil shill - 13.06.2012
hello...
i want to make a tutorial but i cant remember the code to view a building
if someone know that script pleas tell me thnx.
Re: [HELP] Creating Tutorial -
Kindred - 13.06.2012
Please rephrase that? What do you mean by "view a building"?
Do you mean set the camera's position to look at the building?
If that is what you mean, look at these functions:
SetPlayerCameraPos
SetPlayerCameraLookAt
SetPlayerPos ((Not sure about this, pretty sure you need to place the player near the camera so it loads the actual surroundings, or else it would be all blurry))
TogglePlayerControllable ((Use after SetPlayerPos, if you do, considering you don't want the dude falling down after he is spawned up high))
Re: [HELP] Creating Tutorial -
devil shill - 13.06.2012
Quote:
Originally Posted by Kindred
Please rephrase that? What do you mean by "view a building"?
Do you mean set the camera's position to look at the building?
If that is what you mean, look at these functions:
SetPlayerCameraPos
SetPlayerCameraLookAt
SetPlayerPos ((Not sure about this, pretty sure you need to place the player near the camera so it loads the actual surroundings, or else it would be all blurry))
TogglePlayerControllable ((Use after SetPlayerPos, if you do, considering you don't want the dude falling down after he is spawned up high))
|
Yeah sorry i mean look at the building sorry :S but this helped me out Thnx