AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Plugin useage. (https://forums.alliedmods.net/showthread.php?t=174482)

zombieplague 12-21-2011 00:26

Plugin useage.
 
Can anyone explain to me or how do I do to make a plugin with less usage and does more efficiently ?

fysiks 12-21-2011 01:48

Re: Plugin useage.
 
There is too many things that you can do than can be explained here without code. I suggest that you read through this document before asking anymore related questions.

If after that you truely need more help then post your whole code as an attachment if it's longer than about 100 lines.

zombieplague 12-22-2011 14:14

Re: Plugin useage.
 
Quote:

Originally Posted by fysiks (Post 1616913)
There is too many things that you can do than can be explained here without code. I suggest that you read through this document before asking anymore related questions.

If after that you truely need more help then post your whole code as an attachment if it's longer than about 100 lines.

What does the number in the bracket do.

For an example:
PHP Code:

new message[255

Is it the limit/size ?

fysiks 12-22-2011 14:36

Re: Plugin useage.
 
Quote:

Originally Posted by zombieplague (Post 1617873)
What does the number in the bracket do.

For an example:
PHP Code:

new message[255

Is it the limit/size ?

Array size. This is something you should know before you consider optimizing.


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

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