Numos59 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 2 forks source link

Hooks #810

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
DarkRP really needs hooks for things so I can make modules and such without 
editing the source code itself.  Examples:

PlayerBuyDoor( objPl, objDoor )
PlayerBoughtDoor( objPl, objDoor )

and yeah, I need these for the new properties module.

Original issue reported on code.google.com by xFROzENFUSiONx on 28 Apr 2012 at 11:02

GoogleCodeExporter commented 8 years ago
The annoying thing is that someone told me he'd do this and make a patch 
(commit to OpenDarkRP when it was still up).

I agree with you that this should be added, but please note that this is at the 
bottom of my priorities list. This semester in university is a very busy one. I 
don't know what time I will have to even start on this, but I doubt it will be 
enough. I'm putting the status to accepted. In the worse case I'll make this in 
11 weeks, which is when the semester is over.

Original comment by fpeijnen...@gmail.com on 28 Apr 2012 at 7:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
All changes:

Optimized chat commands (table indexes are now by chat command, making it more 
efficient when someone chats)
Added new hooks (see properties module)
Added properties module (hooking examples, disabled by default)
Fixed English grammar typo that drives me nuts

Original comment by xFROzENFUSiONx on 29 Apr 2012 at 2:11

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by fpeijnen...@gmail.com on 29 Apr 2012 at 10:21