Raised This Month: $37 Target: $400
 9% 

Arrows Generator


Post New Thread Reply   
 
Thread Tools Display Modes
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-08-2013 , 02:42   Re: Arrows Generator
Reply With Quote #11

Quote:
No
What is wrong to use formatex() in plugin_cfg() ?

Quote:
It is the same thing
Yes I know, that's why I suggested it, I think it is easier for the coder.

Quote:
Variable names mean nothing, he can name it whatever he wants. Plus, it is being formatted to a file...
I thought it is a good habbit to name them well, sorry.
__________________




Last edited by dark_style; 10-08-2013 at 02:44.
dark_style is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-08-2013 , 02:49   Re: Arrows Generator
Reply With Quote #12

Quote:
Originally Posted by dark_style View Post
What is wrong to use formatex() in plugin_cfg() ?
Because he is using the Destination Variable as one of the Input Variables.

Quote:
Yes I know, that's why I suggested it, I think it easier for the coder.
It is personal preference. Some coders prefer seeing the sizeof-1 instead of charsmax

Quote:
I thought it is a good habbit to name them well, sorry.
He did, it does get formatted to a file name
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 10-08-2013 , 02:53   Re: Arrows Generator
Reply With Quote #13

Quote:
Because he is using the Destination Variable as one of the Input Variables.
Okay, sorry.

Quote:
It is personal preference. Some coders prefer seeing the sizeof-1 instead of charsmax
I agree, I just suggested it, because it looks easier to me. It was just a suggestion, I don't force him to do it.

Quote:
He did, it does get formatted to a file name
I see it does, tho imo it is still better to use another name. Nevermind, the variable naming is a personal preference, every coder name them as he wants, and as they will be easier for understand to him.
__________________




Last edited by dark_style; 10-08-2013 at 02:59.
dark_style is offline
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 10-08-2013 , 05:13   Re: Arrows Generator
Reply With Quote #14

YamiKaitou answered you why I used format, not formatex.

The reason which I used sizeof instead of charsmax is because charsmax is avaible only for some amxmodx versions while sizeof is avaible for all amxmodx versions.

I'll change g_szFile with g_szDir for good habbit in v0.2.

Thank you very much for replys and feedbacks. Anyone else?
RapZzw3rR is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-08-2013 , 05:59   Re: Arrows Generator
Reply With Quote #15

Quote:
Originally Posted by RapZzw3rR View Post
The reason which I used sizeof instead of charsmax is because charsmax is avaible only for some amxmodx versions while sizeof is avaible for all amxmodx versions.
It was added in 1.8.0, so everyone has it
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 10-08-2013 , 07:53   Re: Arrows Generator
Reply With Quote #16

Quote:
Originally Posted by YamiKaitou View Post
It was added in 1.8.0, so everyone has it
I used it just to be sure .
RapZzw3rR is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 10-08-2013 , 13:31   Re: Arrows Generator
Reply With Quote #17

Looks like a simple, yet interesting plugin. Though the arrows could look abit better, just my thought.
__________________
Accepting paid work for clans and communities. !Plugins & Models!
Don't hesitate to contact me.
bibu is offline
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 10-09-2013 , 13:30   Re: Arrows Generator
Reply With Quote #18

Quote:
Originally Posted by bibu View Post
Looks like a simple, yet interesting plugin. Though the arrows could look abit better, just my thought.
1. If you'll read the code source you'll change your mind.
2. Hmm.. how could look the arrow ?

Last edited by RapZzw3rR; 10-09-2013 at 13:32.
RapZzw3rR is offline
thug90life
Junior Member
Join Date: Mar 2015
Old 03-28-2015 , 13:54   Re: Arrows Generator
Reply With Quote #19

Awesome ! good job man!

Last edited by thug90life; 03-28-2015 at 13:55.
thug90life is offline
Keys PK
Member
Join Date: Mar 2015
Location: Romania
Old 03-29-2015 , 20:12   Re: Arrows Generator
Reply With Quote #20

Good Job, nice idea, I like it
__________________
Keys PK is offline
Send a message via Skype™ to Keys PK
Reply


Thread Tools
Display Modes

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 20:47.


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