SA-MP Forums Archive
PAWN Habits - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: PAWN Habits (/showthread.php?tid=57908)



PAWN Habits - Mikep - 12.12.2008

do you have any habits in pawn?

I have some:

I put a y on everything, like:

randy for random
namey for names
healty for health
etc.

and I always forget the ; at the end of functions.

You got any?




Re: PAWN Habits - Tez2k7 - 12.12.2008

Quote:
Originally Posted by Mikep
and I always forget the ; at the end of functions.
Same here. I always forget to define colors when making a new script.


Re: PAWN Habits - Nibblet - 12.12.2008

I always Forget to Indent My code to the right Tabsize.
Wich gives me lots of errors.

One time ive forgotten to Put some (42) Defines on top of a new script, so i had to write em up all


Re: PAWN Habits - Redgie - 12.12.2008

I always save instead of compile, or forget to upload / restart.

The logs on my old test server were full of
"FUCKING HELL WHY ISN'T IT WORKING"
..
...
"Oh"


Re: PAWN Habits - Antironix - 12.12.2008

In the beginning I had many mistakes like double ],),} and I had forgotten a ;. Now I don't make a mistake anymore, just now and then.


Re: PAWN Habits - Zezombia - 12.12.2008

I make too many global variables. I could have 20 at the beginning of a simple DM script.


Re: PAWN Habits - Serbish - 12.12.2008

My illness is to separate each public with 2 spaces like this
Code:
public test()
{
return 1;
}


public test2()
{
return 1;
}



Re: PAWN Habits - Mikep - 12.12.2008

Quote:
Originally Posted by Serbish
My illness is to separate each public with 2 spaces like this
Code:
public test()
{
return 1;
}


public test2()
{
return 1;
}
I just do it by 1


Re: PAWN Habits - [NBG]XxXkranXxX - 12.12.2008

I dont really mess up, sometimes when i goto do

//============================================

I do this instead,

/=============================================



Re: PAWN Habits - kc - 12.12.2008

the most random names for elements ever.

(extracts from my gm xs2 -)

Code:
stock BigDipper()
{
Code:
new epsilon;
Code:
new brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrdfsde4e;