[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


Messages In This Thread
[AJUDA] error 017: undefined symbol "GetVehicleVelocity" - by bRn - 30.12.2009, 19:19
Re: [AJUDA] error 017: undefined symbol "GetVehicleVelocity" - by [VGS]Protioso - 05.01.2010, 05:12
Re: [AJUDA] error 017: undefined symbol "GetVehicleVelocity" - by RoamPT - 05.01.2010, 13:53
Re: [AJUDA] error 017: undefined symbol "GetVehicleVelocity" - by bRn - 11.01.2010, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)