AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   More than *** ammount of entities, array. (https://forums.alliedmods.net/showthread.php?t=63839)

Davidos 12-01-2007 08:25

More than *** ammount of entities, array.
 
1 Attachment(s)
Good mornin-afternoon-evenin Amxmodx community.

I'm trying to find out how to fix a simple problem.

It has to do with the door(un)locker mod, you probably heard of. I think it's either by Avalanche or Suzuka.

Anyways, the problem is that the 'door mod' has a certain ammount of max doors, set to 999 as frankly you can't go any higher (with array).

What I'm trying to do here is 'up' the max entities, seeing there are more than 999 entities 'called' for the doors in the map.

... does... anyone get what I'm saying?

Well, check out the plugin.

Drak 12-01-2007 23:10

Re: More than *** ammount of entities, array.
 
So wait, why can't you just change "MAXDOORS" and make it a greater value?

Davidos 12-02-2007 04:48

Re: More than *** ammount of entities, array.
 
Quote:

Originally Posted by Drak (Post 559017)
So wait, why can't you just change "MAXDOORS" and make it a greater value?


Tried it, 999 is the max, -1 doesn't exist.

If you try it higher than 999 the whole game will blow up in your face, let alone not compile.

Drak 12-02-2007 05:43

Re: More than *** ammount of entities, array.
 
Changing it from 999 to 1800. Worked just fine.

Davidos 12-02-2007 05:57

Re: More than *** ammount of entities, array.
 
Quote:

Originally Posted by Drak (Post 559098)
Changing it from 999 to 1800. Worked just fine.


Awkward... it doesn't appear to work for me.

Drak 12-02-2007 05:59

Re: More than *** ammount of entities, array.
 
Quote:

Originally Posted by Davidos (Post 559101)
Awkward... it doesn't appear to work for me.

The plugin doesn't even compile? What AMXX version are you using to compile it with?

Davidos 12-02-2007 06:00

Re: More than *** ammount of entities, array.
 
Quote:

Originally Posted by Drak (Post 559104)
The plugin doesn't even compile? What AMXX version are you using to compile it with?

The latest, and the newest of amxx studio.

Drak 12-02-2007 06:12

Re: More than *** ammount of entities, array.
 
1 Attachment(s)
I'm not sure why it's not compiling. But.. Here's a compiled one with the limit set to 2000. If that helps at all..

Davidos 12-02-2007 06:12

Re: More than *** ammount of entities, array.
 
Quote:

Originally Posted by Drak (Post 559107)
I'm not sure why it's not compiling. But.. Here's a compiled one with the limit set to 2000. If that helps at all..

Well, thanks, + karma I guess :p


All times are GMT -4. The time now is 11:02.

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