I have a Question
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
You mean your objects not appearing when you TogglePlayerSpectate?

well if yes then you have to use Streamer Update.
you can use this after setting player pos
PHP код:
Streamer_Update(playerid); 
or also you can use this which is more accurate.
PHP код:
 Streamer_UpdateEx(playeridFloat:xFloat:yFloat:z); 
Hello there @jlalt

Код:
switch( classid )
	{
		case 0..55:
		{
		    SetPlayerTime( playerid, 0, 0 );
			SetPlayerInterior( playerid, 0 );

			if( GetPlayerVirtualWorld( playerid ) != 11 )
				SetPlayerVirtualWorld( playerid, 11 );

			SetPlayerPos( playerid, 1929.6469,-2818.9055,5.7799 );
			SetPlayerFacingAngle( playerid, 178.9658 );
			ApplyAnimation( playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0 );
		 	ApplyAnimation( playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0 );
			SetPlayerAttachedObject( playerid, 0, 19079, 1, 0.330000, -0.079999, 0.150000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
			SetPlayerAttachedObject( playerid, 1, 18693, 5, -0.100000, 0.000000, -1.750000, 0.000000, 0.000000, 0.000000, 100.000000, 1.000000, 1.000000 );
			SetPlayerAttachedObject( playerid, 2, 18693, 6, 0.000000, 0.000000, 1.750000, 180.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
			SetPlayerCameraPos( playerid, 1928.8866, -2825.4265, 6.5730 );
			SetPlayerCameraLookAt( playerid, 1929.1681, -2824.4680, 6.5030 );
			Streamer_UpdateEx( playerid, 1931.51624, -2832.97754, 5.74180, 11 );
		}
	}
- I use this already.. or it is something wrong with it ?
Reply


Messages In This Thread
I have a Question - by FaLLenGirL - 22.07.2017, 11:34
Re: I have a Question - by jlalt - 22.07.2017, 11:41
Re: I have a Question - by FaLLenGirL - 22.07.2017, 11:43
Re: I have a Question - by StrikerZ - 22.07.2017, 11:47
Re: I have a Question - by FaLLenGirL - 22.07.2017, 11:48
Re: I have a Question - by jlalt - 22.07.2017, 11:49
Re: I have a Question - by FaLLenGirL - 22.07.2017, 11:51
Re: I have a Question - by StrikerZ - 22.07.2017, 11:56
Re: I have a Question - by FaLLenGirL - 22.07.2017, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)