2020-04-16, 08:49 AM
I like the use of tags and the naming scheme. I agree that using -1 as invalid value is a better choice.
I myself started using this naming conversation for the gamemode I am writing and I wonder if it will conflict with open.mp scripting API. For example, I have extra parameter to know if I have to update the database or not.?I hope I will not have to convert the whole gamemode in the future.
I also noticed few mistakes:
I myself started using this naming conversation for the gamemode I am writing and I wonder if it will conflict with open.mp scripting API. For example, I have extra parameter to know if I have to update the database or not.?I hope I will not have to convert the whole gamemode in the future.
Code:
Player_SetWeather(playerid, weatherid, bool: update_db)
I also noticed few mistakes:
Code:
Eample
Code:
but found but found none ("_")
Code:
// Just set `z`.
Vehicle_GetRotation(vehicleid, z);
// Set x, y, and z Euler angles.
Vehicle_GetRotation(vehicleid, x, y, z);
// Set w, x, y, and z quaternion angles.
Vehicle_GetRotation(vehicleid, w, x, y, z);