[AJUDA] error 017: undefined symbol "GetVehicleVelocity"
#1

Ai galera quando foi compila o FS Fallout's SpeedoMeter me da esse erro.

Quote:

..\Meus documentos\F_SpeedoMeter.pwn(245) : error 017: undefined symbol "GetVehicleVelocity"

a Linha 245:
Code:
GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
Mais:
Code:
			  new String[128];
		    new Float:X, Float:Y, Float:Z, Float:Speed;
        GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
        Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
				new PlayerVehicleModelID = GetVehicleModel(GetPlayerVehicleID(i));
				PlayerVehicleModelID -= 400;
				format(String,sizeof(String),"~b~Vehicle:~n~~w~%s~n~~b~Health:~n~~n~Speed:~n~~w~%im/h~n~%ikm/h", PlayerVehicle[PlayerVehicleModelID], floatround(floatdiv(Speed, 1.609344), floatround_floor), floatround(Speed, floatround_floor));
				if(VHSCreated[i] == true)
				{
					TextDrawDestroy(VHS[i]);
				}
				VHS[i] = TextDrawCreate(485.000000,355.000000,String);
				TextDrawAlignment(VHS[i],0);
				TextDrawBackgroundColor(VHS[i],0x000000ff);
				TextDrawFont(VHS[i],1);
				TextDrawLetterSize(VHS[i],0.299999,1.000000);
				TextDrawColor(VHS[i],0xffffffff);
				TextDrawSetOutline(VHS[i],1);
				TextDrawSetProportional(VHS[i],1);
				TextDrawSetShadow(VHS[i],1);
      	TextDrawShowForPlayer(i, VHS[i]);
      	VHSCreated[i] = true;
Alguem me ajuda
Reply
#2

Atualize seus includes para o 0.3.
Se ainda continuar tu pode estar abrindo por outro pawno que nгo й do mesmo local que tu tem os includes do 0.3, por isso vб na pasta do pawno que tu colocou os includes novos e abre o pawno e por ele abra o arquivo.
Boa sorte, flws.
Reply
#3

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

Faz o download do SA-MP 0.3a R4 Server.
Reply
#4

vlw ae
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)