30.12.2009, 19:19
Ai galera quando foi compila o FS Fallout's SpeedoMeter me da esse erro.
a Linha 245:
Mais:
Alguem me ajuda
Quote:
..\Meus documentos\F_SpeedoMeter.pwn(245) : error 017: undefined symbol "GetVehicleVelocity" |
Code:
GetVehicleVelocity(GetPlayerVehicleID(i), X, Y, Z);
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;