SA-MP Forums Archive
[FilterScript] S74`Register Syst. by RastaOrecha (JM_Millers) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] S74`Register Syst. by RastaOrecha (JM_Millers) (/showthread.php?tid=418854)



S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 26.02.2013

Hi all.

Today at leisure, I wrote a script registration

The script is used:
• MySQL R8
• Vectorial (at will)

This is my 1st script in this forum

The script has a high logic code.

Theme decorated later add video

http://*********/pMsDtXQzH5A


It's all.

Download:

users.sql: http://www.mediafire.com/?hpgo542hx5xs9r6
Mediafire: http://www.mediafire.com/?33b1h6ad6d608cm
Pastebin: http://pastebin.com/pvanEXPK
Ideone: http://ideone.com/lWb7m8


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - Mance - 26.02.2013

11 строка


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 26.02.2013

Quote:
Originally Posted by Mance
Посмотреть сообщение
11 строка
This seal


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - IIeJIbMeHb - 26.02.2013

LOL.

PHP код:
enum InfPlayers{Name[24]}; 
Why enum for one array?

PHP код:
pInfo[InfPlayers][MAX_PLAYERS
What kind of nonsense?

PHP код:
if rows *then 
Why do you use Pascal in Pawn?

Code is just nonsense


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 26.02.2013

Quote:
Originally Posted by IIeJIbMeHb
Посмотреть сообщение
LOL.

PHP код:
enum InfPlayers{Name[24]}; 
Why enum for one array?

PHP код:
pInfo[InfPlayers][MAX_PLAYERS
What kind of nonsense?

PHP код:
if rows *then 
Why do you use Pascal in Pawn?

Code is just nonsense
The main thing is that the code works.

Quote:

What kind of nonsense?

Why nonsense?


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 28.02.2013

Update.


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - RajatPawar - 28.02.2013

Can you explain why this FS is 'high logic', asking since, any things I could gain/learn from this, I would love to know.


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 28.02.2013

Quote:
Originally Posted by Rajat_Pawar
Посмотреть сообщение
Can you explain why this FS is 'high logic', asking since, any things I could gain/learn from this, I would love to know.
The logic of the code depends on the scripter.
There are beginners who are building the structure of the code is wrong.

For example take the flow chart:



This is:

PHP код:
new 573;
if(
b)
{
    if(
c)
    {
        
printf("c - the largest number");
    }
    else
    {
        
printf("a - the largest number");
    }
}
else
{
    if(
c)
    {
        
printf("b - the largest number");
    }
    else
    {
        
printf("c - the largest number");
    }

and this:

PHP код:
static 573;
if 
>&& *then return printf("a - the largest number");
if 
>&& *then return printf("b - the largest number");
if 
>&& *then return printf("a - the largest number"); 
The same, but in the second example above code logic.


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - frog163 - 28.02.2013

Quote:
Originally Posted by JM_Millers
Посмотреть сообщение
The logic of the code depends on the scripter.
There are beginners who are building the structure of the code is wrong.

For example take the flow chart:



This is:

PHP код:
new 573;
if(
b)
{
    if(
c)
    {
        
printf("c - the largest number");
    }
    else
    {
        
printf("a - the largest number");
    }
}
else
{
    if(
c)
    {
        
printf("b - the largest number");
    }
    else
    {
        
printf("c - the largest number");
    }

and this:

PHP код:
static 573;
if 
>&& *then return printf("a - the largest number");
if 
>&& *then return printf("b - the largest number");
if 
>&& *then return printf("a - the largest number"); 
The same, but in the second example above code logic.
PHP код:
printf("%d"max(max(ab), c)) 
xD


Re: S74`Register Syst. by RastaOrecha (JM_Millers) - JM_Millers - 28.02.2013

Quote:
Originally Posted by frog163
Посмотреть сообщение
PHP код:
printf("%d"max(max(ab), c)) 
xD
I told him this is an example