Tutorial with pictures! -
samtey - 05.09.2011
Hi!
PHP код:
CMD: tutorial (playerid,params[])
{
When a player uses this, there has to be a tutorial showing pictures and under each picture is a text! How to do this?
Of course he can't move and skip!
Re: Tutorial with pictures! -
=WoR=Varth - 05.09.2011
Quote:
Originally Posted by samtey
Hi!
PHP код:
CMD: tutorial (playerid,params[])
{
When a player uses this, there has to be a tutorial showing pictures and under each picture is a text! How to do this?
Of course he can't move and skip!
|
You can't show a pictures instead convert an image to textdraw or use a plugin (forgot the name) to show image for everyone.
AW: Tutorial with pictures! -
samtey - 05.09.2011
Lol, not pictures like an avatar or jpg, gif data! A place from the game, I mean! Example: Showing pic = LA Airport!
Re: Tutorial with pictures! -
Kingunit - 05.09.2011
Indeed, picture's aren't possible. You can make something with textdraws.
// You mean CameraLook?
AW: Tutorial with pictures! -
samtey - 05.09.2011
Ye, CameraLook = he see's a place in the game!
Re: AW: Tutorial with pictures! -
=WoR=Varth - 05.09.2011
Quote:
Originally Posted by samtey
Hi!
PHP код:
CMD: tutorial (playerid,params[])
{
When a player uses this, there has to be a tutorial showing pictures and under each picture is a text! How to do this?
Of course he can't move and skip!
|
Quote:
Originally Posted by varthshenon
You can't show a pictures instead convert an image to textdraw or use a plugin (forgot the name) to show image for everyone.
|
Quote:
Originally Posted by samtey
Lol, not pictures like an avatar or jpg, gif data! A place from the game, I mean! Example: Showing pic = LA Airport!
|
Don't blame me.
Use timer.
Re: Tutorial with pictures! -
Kingunit - 05.09.2011
Get the X,Y,Z of the Camera Look. Then check:
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
AW: Tutorial with pictures! -
samtey - 05.09.2011
Ye, but what if I want that another picture comes after 10 seconds?
Re: Tutorial with pictures! -
Kingunit - 05.09.2011
Using timers.
Re: Tutorial with pictures! -
grand.Theft.Otto - 05.09.2011
Use a jetpack or something to get to a high position for where you want the camera to show and type /save.
When the player types /tutorial, use SetPlayerCameraLookAt and SetCameraPos and add the coordinate you saved for both of those function. It should show the camera at the position you saved. Use a timer to show the next camera position (you need to repeat the SetPlayerCameraLookAt, SetCameraPos and /save steps for new coords)