Small Question =]
#1

Код:
new Float:gInviteSpawns[10][4] = {
{-1976.5912,166.1818,36.9623,272.6393},
{-1975.8610,162.1945,36.9623,272.0126},
{-1975.7461,157.5404,36.9623,276.1093},
{-1975.2136,151.4920,36.9623,268.2993},
{-1974.9963,145.3430,36.9623,269.2628},
{-1975.5842,140.8170,36.9623,269.8895},
{-1975.7874,134.0368,36.9623,271.7696},
{-1975.1681,129.0926,36.9623,270.8531},
{-1975.9069,121.4700,36.9623,270.5631},
{-1975.3311,112.7078,36.9623,267.7665}
The question is what the [4] stands for. 10 stands for 10 coords and that 4 .... ?

It's that i use 4 extra coord numbers or ?
Reply
#2

Means:

0 1 2 3
0 {-1976.5912,166.1818,36.9623,272.6393},
1 {-1975.8610,162.1945,36.9623,272.0126},
2 {-1975.7461,157.5404,36.9623,276.1093},
3 {-1975.2136,151.4920,36.9623,268.2993},
4 {-1974.9963,145.3430,36.9623,269.2628},
5 {-1975.5842,140.8170,36.9623,269.8895},
6 {-1975.7874,134.0368,36.9623,271.7696},
7 {-1975.1681,129.0926,36.9623,270.8531},
8 {-1975.9069,121.4700,36.9623,270.5631},
9 {-1975.3311,112.7078,36.9623,267.7665}

You have 10 coordinates, all have 4 positions, problably X, Y, Z and rotation.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)