-- Functions return a floating-point number native Float:GetVehicleMass(vehicle); native Float:GetVehicleDragCoeff(vehicle); native Float:GetVehicleFrontRearBias(vehicle); native GetVehicleCenterMass(vehicle, &Float:cx, &Float:cy, &Float:cz); native Float:GetVehicleSusAntiDriveMul(vehicle); native Float:GetVehicleSusHighSpeedDpg(vehicle); native Float:GetVehicleSusLowerLimit(vehicle); native Float:GetVehicleSusUpperLimit(vehicle) native Float:GetVehicleSusForceLvl(vehicle); native Float:GetVehicleSteeringLock(vehicle); native Float:GetVehicleTurnMass(vehicle); native Float:GetVehicleTractionMultiplier(vehicle); native Float:GetVehicleEngineAccel(vehicle); native Float:GetVehicleEngineInertia(vehicle); native Float:GetVehicleTractionBias(vehicle); native Float:GetVehicleTractionLoss(vehicle); native Float:GetVehicleTractionLoss(vehicle); native Float:GetVehicleDistSeatOffset(vehicle); native Float:GetVehicleSusDamping(vehicle); native Float:GetVehicleCollisionDmg(vehicle); native Float:GetVehicleMaxVelocity(vehicle); -- Functions returning an integer native GetVehicleNumberOfGear(vehicle); native GetVehiclePercentSubMerged(vehicle); -- Functions return a string native GetVehicleEngineType(vehicle); native GetVehicleDriveType(vehicle);
GetVehicleDriveType returns the first letter of the drive type, for example - A for AWD or R for RWD, then the command I last typed.
Any ideas? Don't know how this could happen |
new buf[5]; strcat(buf, GetVehicleDriveType(vehicleid)); printf("blabala: %s", buf); - it work's
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(384) : error 010: invalid function or declaration
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(387) : error 001: expected token: "-identifier-", but found "("
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(389) : error 010: invalid function or declaration
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(392) : error 001: expected token: "-identifier-", but found "("
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(394) : error 010: invalid function or declaration
C:\Users\âèí7\Desktop\United\pawno\include\handling.inc(398) : error 010: invalid function or declaration