Raised This Month: $ Target: $400
 0% 

Dynamic Array


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Baws
Veteran Member
Join Date: Oct 2012
Old 03-04-2014 , 14:00   Dynamic Array
Reply With Quote #1

How to replace
PHP Code:
#define MAX_SONGS 5000 
With a unlimited dynamic array?
__________________
Like my clean plugins and work?
Baws is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-04-2014 , 14:08   Re: Dynamic Array
Reply With Quote #2

PHP Code:
#include amxmodx

#define b_Init plugin_init
#define bCreateArray ArrayCreate
#define Barray Array

new Barray:b_SongsHolder

public b_Init()
{
    
b_SongsHolder bCreateArray(x)

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 03-04-2014 , 14:32   Re: Dynamic Array
Reply With Quote #3

Oh wow ahahaha <3

bThanks
__________________
Like my clean plugins and work?

Last edited by Baws; 03-04-2014 at 14:32.
Baws is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-04-2014 , 23:41   Re: Dynamic Array
Reply With Quote #4

Quote:
Originally Posted by ConnorMcLeod View Post
PHP Code:
#include amxmodx

#define b_Init plugin_init
#define bCreateArray ArrayCreate
#define Barray Array

new Barray:b_SongsHolder

public b_Init()
{
    
b_SongsHolder bCreateArray(x)

__________________
fysiks is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 03-05-2014 , 11:41   Re: Dynamic Array
Reply With Quote #5

He's using my b coding style.
__________________
Like my clean plugins and work?
Baws is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-05-2014 , 14:38   Re: Dynamic Array
Reply With Quote #6

Quote:
Originally Posted by baws View Post
He's using my b coding style.
What does that mean? It's a really bad thing to do with code that is and should be straight forward.
__________________
fysiks is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 03-05-2014 , 15:47   Re: Dynamic Array
Reply With Quote #7

I know he's just messing around ahaha. As i did something horrible before so he's just making fun of me but it's cool
__________________
Like my clean plugins and work?
Baws is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-08-2014 , 18:17   Re: Dynamic Array
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
PHP Code:
#include amxmodx

#define b_Init plugin_init
#define bCreateArray ArrayCreate
#define Barray Array

new Barray:b_SongsHolder

public b_Init()
{
    
b_SongsHolder bCreateArray(x)

i remember reading his songs plugin code and i just lol'd when reading this
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Baws
Veteran Member
Join Date: Oct 2012
Old 03-08-2014 , 22:33   Re: Dynamic Array
Reply With Quote #9

Yeah i fixed that long time ago ahahaha. Well i didn't know and every new scripter need to start somewhere
__________________
Like my clean plugins and work?
Baws 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 16:22.


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