[Ajuda] Objetos
#1

coloquei gm na host e depois disso so aparece veiculo objetos não
Reply
#2

Ta, vocк acha que somos videntes ou oque? poste o cуdigo, a callback 'OnGameModeInit'
Reply
#3

CreateObject(1238, 1529.5001220703, -1672.8580322266, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.3835449219, -1679.720703125, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.6225585938, -1664.2890625, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.5444335938, -1654.2231445313, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.5439453125, -1654.22265625, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.5517578125, -1642.2172851563, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.3134765625, -1688.2329101563, 12.700992584229, 0, 0, 0);
CreateObject(1238, 1529.3701171875, -1697.2377929688, 12.700992584229, 0, 0, 0);
CreateObject(1228, 1529.55078125, -1677.7625732422, 12.80394077301, 0, 0, 0);
CreateObject(1228, 1529.6108398438, -1674.76171875, 12.80394077301, 0, 0, 0);
CreateObject(1228, 1529.6854248047, -1671.01171875, 12.80394077301, 0, 0, 0);
CreateObject(1228, 1529.7846679688, -1666.01171875, 12.80394077301, 0, 0, 0);
CreateObject(1228, 1529.7341308594, -1668.51171875, 12.80394077301, 0, 0, 0);
CreateObject(1237, 1534.4802246094, -1664.0927734375, 12.3828125, 0, 0, 0);
CreateObject(1237, 1535.7294921875, -1664.1177978516, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.9794921875, -1664.1422119141, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.9594726563, -1665.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.9389648438, -1666.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.9185791016, -1667.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.8981933594, -1668.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.8774414063, -1669.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.8569335938, -1670.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.8364257813, -1671.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.8159179688, -1672.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7954101563, -1673.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7749023438, -1674.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7543945313, -1675.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7338867188, -1676.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7133789063, -1677.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.6928710938, -1678.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.6723632813, -1679.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.671875, -1679.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.677734375, -1680.1416015625, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7375488281, -1681.1394042969, 12.3828125, 0, 0, 0);
CreateObject(1237, 1536.7373046875, -1681.138671875, 12.3828125, 0, 0, 0);
CreateObject(1237, 1535.7377929688, -1681.1059570313, 12.3828125, 0, 0, 0);

Filterscripts\Obj.pwn(284) : warning 217: loose indentation
Filterscripts\Obj.pwn(1019) : warning 217: loose indentation
Filterscripts\Obj.pwn(1150) : warning 217: loose indentation
Filterscripts\Obj.pwn(1960) : warning 217: loose indentation
Reply
#4

Fecha todas as linhas com
PHP код:
000300.0); 
e tenta
Reply
#5

loose indentation - Mб indentaзгo (de cуdigo).

Linhas quebradas e fora da regra da indentaзгo dos cуdigos.

Бrvore indentalуgica.: (Feita por zSuYaNw)
PHP код:
|
    |
        |
            |
                |
                    |
                        |
                            |
                                |
                            |
                        |
                    |
                |
            |
        |
    |

Agora, um pouco mais explicativo para possнvel compreensгo. (Que no caso, se aplica em pawn):
PHP код:
new Float:var[9][playerid];
if(var[
0][playerid] == 0.0)
{
    if(var[
1][playerid] == 1.1)
    {
        if(var[
2][playerid] == 2.2)
        {
            if(var[
3][playerid] == 3.3)
            {
                if(var[
4][playerid] == 4.4)
                {
                    if(var[
5][playerid] == 5.5)
                    {
                        if(var[
6][playerid] == 6.6)
                        {
                            if(var[
7][playerid] == 7.7)
                            {
                                if(var[
8][playerid] == 8.8)
                                {
                                    
/* Realizaзгo de funзгo apуs cada condicional ser retornada para true. */
                                
}
                            }
                        }
                    }
                }
            }
        }
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)