[Plugin] [REL] Functions
#4

Quote:
Originally Posted by Щә яә Ґя
An optimisation of this plugin will be awsome ... :

First of all , why did you used charcater '_' ?

And at for loops , why at top of script , you didn't declared a s ?
int s;

In your plugin , you declared s for 22 times

And at arrays , it was so hard to count how much numbers did you wrote ?

pawn Code:
int Airplanes[] = {592,577,511,512,593,520,553,476,519,460,513};
int Airplanes[12] = {592,577,511,512,593,520,553,476,519,460,513}; /* 11 + 1 */
etc.
Where did I use the character _?
( int IsAValidSkinID(int _id) { if(_id >= 0 && _id <= 28 return 1; return 0; } )
Why would it matter? It's just a underscore before the variable, it won't effect it at all. Also, the int s thing, i'll change around. In the arrays, why would it matter? It still did the same thing, sizeof(Airplanes), It was just easier.
Reply


Messages In This Thread
[REL] Functions - by Carlton - 05.04.2010, 15:27
Re: [REL] Functions - by Carlton - 05.04.2010, 18:47
Re: [REL] Functions - by MJ! - 06.04.2010, 10:49
Re: [REL] Functions - by Carlton - 06.04.2010, 12:43
Re: [REL] Functions - by Mina - 06.04.2010, 12:49
Re: [REL] Functions - by Carlton - 06.04.2010, 13:03
Re: [REL] Functions - by Mina - 06.04.2010, 13:20
Re: [REL] Functions - by Carlton - 06.04.2010, 13:28
Re: [REL] Functions - by Mina - 06.04.2010, 13:30
Re: [REL] Functions - by Mina - 06.04.2010, 13:42
Re: [REL] Functions - by Extremo - 18.04.2010, 18:12
Re: [REL] Functions - by Silent.Hunter - 25.05.2010, 14:49
Re: [REL] Functions - by [L3th4l] - 31.07.2010, 11:14
Re: [REL] Functions - by Carlton - 31.07.2010, 15:19
Re: [REL] Functions - by [03]Garsino - 31.07.2010, 15:59
Re: [REL] Functions - by Calgon - 31.07.2010, 18:43
Re: [REL] Functions - by Carlton - 31.07.2010, 19:23
Re: [REL] Functions - by Miguel - 01.10.2010, 17:05
Re: [REL] Functions - by s1cr0n - 17.11.2010, 23:37
Re: [REL] Functions - by Grim_ - 18.11.2010, 01:07
Re: [REL] Functions - by ViruZZzZ_ChiLLL - 19.11.2010, 20:41
Re: [REL] Functions - by Grim_ - 19.11.2010, 21:15
Re: [REL] Functions - by ViruZZzZ_ChiLLL - 19.11.2010, 21:38
Re: [REL] Functions - by AlExAlExAlEx - 04.02.2011, 07:14
Re: [REL] Functions - by Steven Paul - 04.02.2011, 13:19
Re: [REL] Functions - by Gamer_Z - 04.02.2011, 13:21

Forum Jump:


Users browsing this thread: 14 Guest(s)