View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-14-2020 , 07:59   Re: Mines Platform (Lasermine/Tripmine/Claymore)
Reply With Quote #7

If you're going to make the plugin 1.10-only, you should consider using the new functions available in 1.10:
  • register_cvar + get_pcvar_* => create_cvar + bind_pcvar_*
  • register_event => register_event_ex
  • set_task => set_task_ex
  • replace_all => replace_string
  • "%n" directly in the message instead of "get_user_name"
  • The "body" argument in "get_user_aiming" is no longer mandatory.
  • Same goes for "menu_item_getinfo" - all arguments are no longer mandatory. Only the first 2 are.
  • Multilingual menus. In 1.10 "menu_create" has an additional argument that makes the entire menu use language keys instead of normal strings. There is no reason for you to format a %L string manually.
__________________

Last edited by OciXCrom; 05-14-2020 at 08:00.
OciXCrom is offline
Send a message via Skype™ to OciXCrom