C:\Users\dani\Desktop\Exslucive RolePlay\NEW SRP\gamemodes\ERP.pwn(12949) : warning 208: function with tag result used before definition, forcing reparse Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9808 bytes Code size: 1702120 bytes Data size: 10521844 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12250156 bytes 1 Warning. |
stock Float:GetVehicleSpeed(vehicleid,UseMPH = 0) { new Float:speed_x,Float:speed_y,Float:speed_z,Float:te mp_speed; GetVehicleVelocity(vehicleid,speed_x,speed_y,speed _z); if(UseMPH == 0) { temp_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+ (speed_z*speed_z))*136.666667; } else { temp_speed = floatsqroot(((speed_x*speed_x)+(speed_y*speed_y))+ (speed_z*speed_z))*85.4166672; } floatround(temp_speed,floatround_round);return temp_speed; } |
stock GetVehicleSpeed(vehicleid, &Float:Speed)
{
new
Float:X,
Float:Y,
Float:Z;
GetVehicleVelocity(vehicleid, X, Y, Z);
Speed = floatsqroot(X*X + Y*Y + Z*Z)*200;
}
Header size: 9808 bytes Code size: 1702120 bytes Data size: 10521844 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12250156 bytes
I don't know if you actually need that specific one, but this one here will work without the warning:
pawn Код:
Код:
Header size: 9808 bytes Code size: 1702120 bytes Data size: 10521844 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12250156 bytes |
C:\Users\dani\Desktop\Exslucive RolePlay\NEW SRP\gamemodes\ERP.pwn(2585) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 9808 bytes Code size: 1701744 bytes Data size: 10521844 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12249780 bytes 1 Warning. |
Header size: 9808 bytes Code size: 1701744 bytes Data size: 10521844 bytes Stack/heap size: 16384 bytes; estimated max. usage=5266 cells (21064 bytes) Total requirements:12249780 bytes |
#pragma dynamic 9999999