Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot open.mp Development Updates [Blog Post] Scripting API blog post discussion

 
  • 0 Vote(s) - 0 Average
Blog Post Scripting API blog post discussion
George
Offline

Burgershot Member
Posts: 9
Threads: 2
Joined: May 2019
Reputation: 0
#5
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.
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);
« Next Oldest | Next Newest »



Messages In This Thread
Scripting API blog post discussion - by Y_Less - 2020-04-14, 07:00 PM
RE: API blog post discussion - by dreftas - 2020-04-14, 09:47 PM
RE: API blog post discussion - by Polygon - 2020-04-15, 12:24 AM
RE: API blog post discussion - by Riddick - 2020-04-15, 08:25 AM
RE: Scripting API blog post discussion - by George - 2020-04-16, 08:49 AM
RE: Scripting API blog post discussion - by EOussama - 2020-04-28, 01:03 PM
RE: Scripting API blog post discussion - by Expert* - 2020-04-29, 02:16 PM
RE: Scripting API blog post discussion - by EvilShadeZ - 2020-04-29, 04:00 PM
RE: Scripting API blog post discussion - by Jarnokai - 2021-01-07, 01:43 PM
RE: Scripting API blog post discussion - by Josh - 2021-01-07, 04:44 PM
RE: Scripting API blog post discussion - by h3ckphy - 2021-05-26, 03:52 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode