AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help on sma file edit! (https://forums.alliedmods.net/showthread.php?t=125976)

jc980 05-04-2010 07:47

help on sma file edit!
 
1 Attachment(s)
can some help my all my friend's rescript they worked this out until it compiles it shows 3 errors that we all (my friends and I) cant fix. if someone can help us pls! its for our server!

drekes 05-04-2010 08:14

Re: help on sma file edit!
 
1 Attachment(s)
here:

You made the else if statement on line 725 outside the function. And you got 24 unused symbols.

Sylwester 05-04-2010 08:26

Re: help on sma file edit!
 
This plugin is another excellent example of how not to code your plugins.
It has almost 1600 lines, while you could reduce it to 800 lines without much thinking...

jc980 05-04-2010 08:32

Re: help on sma file edit!
 
Quote:

Originally Posted by drekes (Post 1170115)
here:

You made the else if statement on line 725 outside the function. And you got 24 unused symbols.

THANK YOU VERY MUCH!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! VERY APRECIATED!!!!!!!!!

drekes 05-04-2010 10:51

Re: help on sma file edit!
 
Quote:

Originally Posted by Sylwester (Post 1170130)
This plugin is another excellent example of how not to code your plugins.
It has almost 1600 lines, while you could reduce it to 800 lines without much thinking...

I didn't read all the code, i just fixed the compiling errors

grimvh2 05-04-2010 11:01

Re: help on sma file edit!
 
Quote:

Originally Posted by Sylwester (Post 1170130)
This plugin is another excellent example of how not to code your plugins.
It has almost 1600 lines, while you could reduce it to 800 lines without much thinking...

i bet 500 - 600 lines is even possible.

fysiks 05-04-2010 17:43

Re: help on sma file edit!
 
Code:

Wow
Wow
Wow
Wow
Wow
Wow
Wow

I can't imagine that it was coded so redundant originally. But maybe.

drekes 05-04-2010 20:50

Re: help on sma file edit!
 
Quote:

Originally Posted by fysiks (Post 1170685)
I can't imagine that it was coded so redundant originally. But maybe.

it is, i can pm you the original if you want


All times are GMT -4. The time now is 03:55.

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