SA-MP Forums Archive
[Ajuda] undefined symbol "InterpolateCameraPos" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] undefined symbol "InterpolateCameraPos" (/showthread.php?tid=579245)



undefined symbol "InterpolateCameraPos" - SeckSeck - 25.06.2015

Код:
public OnPlayerRequestClass(playerid, classid)
{
    new opening = random(3);

	switch(opening)
	{
		case 0:
		{
            InterpolateCameraPos(playerid, 174.650192, -204.841964, 30.090221, 18.314704, -285.310394, 25.956621, 7777, CAMERA_MOVE);
		    InterpolateCameraLookAt(playerid, 171.713394, -208.552337, 28.475181, 22.679988, -283.318908, 24.550085, 7777, CAMERA_MOVE);
		}
		case 1:
		{
            InterpolateCameraPos(playerid, -1953.271728, -452.454406, 63.952621, -1923.013916, -93.270317, 55.248016, 7777, CAMERA_MOVE);
            InterpolateCameraLookAt(playerid, -1949.231567, -452.825225, 61.030303, -1920.920654, -97.473403, 53.529861, 7777, CAMERA_MOVE);
		}
		case 2:
		{
		    InterpolateCameraPos(playerid, -1940.457885, -103.787666, 44.976497, -1964.991455, 89.158874, 42.858543, 7777);
            InterpolateCameraLookAt(playerid, -1940.607910, -99.239791, 42.904224, -1962.782104, 93.174987, 40.861198, 7777);
		}
	}
Sera que ta faltando algum plugin ou include aqui?


Re: undefined symbol "InterpolateCameraPos" - iTakelot - 25.06.2015

Atualiza suas include deve estб ultrapassadas


Respuesta: Re: undefined symbol "InterpolateCameraPos" - SeckSeck - 25.06.2015

Quote:
Originally Posted by iTakelot
Посмотреть сообщение
Atualiza suas include deve estб ultrapassadas
Mano to com o samp 0.3.7 manda o link de todas includes pf?


Re: Respuesta: Re: undefined symbol "InterpolateCameraPos" - iTakelot - 25.06.2015

Quote:
Originally Posted by SeckSeck
Посмотреть сообщение
Mano to com o samp 0.3.7 manda o link de todas includes pf?
Baixa o SA-MP 0.3.7 Windows Server e pega as includs

https://sa-mp.com/download.php


Re: undefined symbol "InterpolateCameraPos" - zSuYaNw - 25.06.2015

Coloque no topo do seu script



PHP код:
native InterpolateCameraPos(playeridFloat:FromXFloat:FromYFloat:FromZFloat:ToXFloat:ToYFloat:ToZtimecut CAMERA_CUT);
native InterpolateCameraLookAt(playeridFloat:FromXFloat:FromYFloat:FromZFloat:ToXFloat:ToYFloat:ToZtimecut CAMERA_CUT); 



Re: undefined symbol "InterpolateCameraPos" - iTakelot - 25.06.2015


REMOVIDO



Respuesta: undefined symbol "InterpolateCameraPos" - SeckSeck - 25.06.2015

Ja baixei includes ja botei esse codigo mais nada, ta faltando alguma coisa!


Re: Respuesta: undefined symbol "InterpolateCameraPos" - n0minal - 25.06.2015

Quote:
Originally Posted by SeckSeck
Посмотреть сообщение
Ja baixei includes ja botei esse codigo mais nada, ta faltando alguma coisa!
Tб faltando a include a_players provavelmente.


Respuesta: Re: Respuesta: undefined symbol "InterpolateCameraPos" - SeckSeck - 25.06.2015

Quote:
Originally Posted by ipsLeon
Посмотреть сообщение
Tб faltando a include a_players provavelmente.
ja teem


Re: undefined symbol "InterpolateCameraPos" - PeterJane - 25.06.2015

Os scripts devem ser sempre abertos depois de abrir o pawno.exe.

Tu provavelmente estбs a abrir o .pwn e depois a escolher um dos compilers que nгo tem os includes atualizados.