Raised This Month: $51 Target: $400
 12% 

[solved] Optional requirements in transitional syntax


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-25-2016 , 22:39   [solved] Optional requirements in transitional syntax
Reply With Quote #1

https://wiki.alliedmods.net/Optional...g_a_Dependency

This wiki page is quite outdated.. I want to update it to use the new syntax but I'm not sure myself.

Code:
public __pl_myfile_SetNTVOptional()
Would it be fine to use this instead?
Code:
public void __pl_myfile_SetNTVOptional()
I remember someone writing about it not being possible but I'm not near a machine that can run SRCDS so I can't check.

Edit: nvm got someone to tell me, yeah it's fine
__________________
retired

Last edited by shavit; 07-25-2016 at 22:42. Reason: solved
shavit is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode