Saving Plate
#6

PHP код:
stock GetLetter(number){
    new 
letter[5];
    switch(
number){
        case 
1letter="1";
        case 
2letter="2";
        case 
3letter="3";
        case 
4letter="4";
        case 
5letter="5";
        case 
6letter="6";
        case 
7letter="7";
        case 
8letter="8";
        case 
9letter="9";
        case 
10letter="0";
        case 
11letter="K";
        case 
12letter="L";
        case 
13letter="M";
        case 
14letter="N";
        case 
15letter="O";
        case 
16letter="P";
        case 
17letter="Q";
        case 
18letter="R";
        case 
19letter="S";
        case 
20letter="T";
        case 
21letter="U";
        case 
22letter="V";
        case 
23letter="W";
        case 
24letter="X";
        case 
25letter="Y";
        case 
26letter="Z";
    }
    return 
letter;
}
format(platesizeof(plate), "%s%s%s%s%d"GetLetter(letter[0]), GetLetter(letter[1]), GetLetter(letter[2]), GetLetter(letter[3]),number); 
Reply


Messages In This Thread
Saving Plate - by TexZena - 21.11.2015, 10:37
Re: Saving Plate - by Vince - 21.11.2015, 10:48
Re: Saving Plate - by TexZena - 21.11.2015, 10:54
Re: Saving Plate - by TexZena - 22.11.2015, 10:47
Re: Saving Plate - by thefirestate - 22.11.2015, 13:15
Re: Saving Plate - by AbyssMorgan - 22.11.2015, 13:18
Re: Saving Plate - by TexZena - 22.11.2015, 14:08
Re: Saving Plate - by AbyssMorgan - 22.11.2015, 14:11
Re: Saving Plate - by thefirestate - 22.11.2015, 14:14
Re: Saving Plate - by TexZena - 22.11.2015, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)