2024-01-07, 02:24 PM
Thank you all for the answers.
In the conclusion that's how variables definitions now works with open.mp library.
Also, for the warning "warning 213: tag mismatch: expected tag "bool", but found none ("_")" in the above case:
The solution is to define the type of the variables as bool like so:
Similar with the old "Float" declaration from the old a_samp library.
Many thanks!
In the conclusion that's how variables definitions now works with open.mp library.
Also, for the warning "warning 213: tag mismatch: expected tag "bool", but found none ("_")" in the above case:
Code:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(vehID, engine, lights, alarm, doors, bonnet, boot, objective);
The solution is to define the type of the variables as bool like so:
Code:
new bool:engine, bool:lights, bool:alarm, bool:doors, bool:bonnet, bool:boot, bool:objective;
GetVehicleParamsEx(vehID, engine, lights, alarm, doors, bonnet, boot, objective);
Similar with the old "Float" declaration from the old a_samp library.
Many thanks!