[Ajuda] Mapa
#1

Ola eu baixei 1 mapa porйm ele veio desse jeito :


new tmpobjid;
tmpobjid = CreateObject(19358,2051.862,-1397.227,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2051.862,-1394.239,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2061.383,-1394.088,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2053.553,-1398.828,1715.472,0.000,180.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2056.759,-1398.829,1715.472,0.000,180.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2063.165,-1398.833,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2064.681,-1397.251,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2064.681,-1394.087,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2053.482,-1392.937,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2056.681,-1392.938,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2059.847,-1392.939,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2063.031,-1392.933,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2069.541,-1398.832,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2072.737,-1398.832,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2064.683,-1390.917,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2066.364,-1389.416,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2069.510,-1389.413,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2072.710,-1389.411,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2075.917,-1389.411,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2075.926,-1398.826,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2076.774,-1397.145,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2076.777,-1393.958,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2076.775,-1390.795,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2076.126,-1414.654,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2079.308,-1414.655,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2079.467,-1408.766,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2079.464,-1411.963,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2079.465,-1414.568,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2078.537,-1398.826,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2080.055,-1411.905,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2080.058,-1415.097,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2082.517,-1414.655,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2085.712,-1414.656,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19358,2084.910,-1410.454,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2080.062,-1394.083,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2084.826,-1389.374,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2092.087,-1414.666,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2091.303,-1410.458,1717.972,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2089.406,-1409.487,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2089.406,-1399.877,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19450,2089.403,-1390.265,1717.972,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19388,2081.716,-1410.452,1718.152,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19388,2066.332,-1398.832,1718.152,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19388,2061.384,-1397.280,1718.152,0.000,0.000,0.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674, "civic02cj", "sl_hotelwall1", 0);
tmpobjid = CreateObject(19388,2059.965,-1398.834,1718.152,0.000,0.000,90.000,300.000);
SetObjectMaterial(tmpobjid, 0, 14674,


e no pawn da erro eu queria saber oque tenho que fazer por que atй tentar converter eu ja tentei no convertffs.com kk, obrigado. INICIANTE EM PAWN
Reply
#2

Qual o erro ?
Reply
#3

Quis erros ficam dando ? mande-os.

Obs: quando for postar algum cуdigo sempre use [pawn] [ / pawn] ou [php] [ / php] eu te recomendo php pois e colorido e melhor a visibilidade....
Reply
#4

Nгo precisa converter, este й o cуdigo certo.

Quote:

SetObjectMaterial(tmpobjid, 0, 14674,

Com certeza o erro estб aн...

Quote:
Originally Posted by LockedLucas
Посмотреть сообщение
Quis erros ficam dando ? mande-os.

Obs: quando for postar algum cуdigo sempre use [pawn] [ / pawn] ou [php] [ / php] eu te recomendo php pois e colorido e melhor a visibilidade....
A sintaxe pawn foi transferida, o mais recomendado й php mesmo.
Reply
#5

[pawn]C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(557) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(55 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(55 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(559) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(560) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(560) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(561) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(562) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(562) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(563) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(564) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(564) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(565) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(566) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(566) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(567) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(56 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(56 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(569) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(570) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(570) : error 017: undefined symbol "tmpobjid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


21 Errors.
[ / pawn]
Reply
#6

Tenta criar uma variбvel por cada objeto...

PHP код:
new var[2];
var[
0] = CreateObject(193582051.862, -1397.2271717.9720.0000.0000.000300.000);
var[
1] = CreateObject(193582051.862, -1394.2391717.9720.0000.0000.000300.000);
for(new 
vars 0vars 2vars++) 
    
SetObjectMaterial(var[vars], 014674"civic02cj""sl_hotelwall1"0); 
Reply
#7

Esses erros ai

Quote:

C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(557) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(55 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(55 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(559) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(560) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(560) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(561) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(562) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(562) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(563) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(564) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(564) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(565) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(566) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(566) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(567) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(56 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(56 : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(569) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(570) : error 017: undefined symbol "tmpobjid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(570) : error 017: undefined symbol "tmpobjid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Reply
#8

Em cada 1? mas vai demorar muito... se eu for fazer como eu faзo?faz esses 5° primeiros objetos aqui por favor? so pra mim fazer certo no pawn:


PHP код:
new tmpobjid
tmpobjid CreateObject(19358,2051.862,-1397.227,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2051.862,-1394.239,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2061.383,-1394.088,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2053.553,-1398.828,1715.472,0.000,180.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2056.759,-1398.829,1715.472,0.000,180.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2063.165,-1398.833,1717.972,0.000,0.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
Reply
#9

Quote:
Originally Posted by Andelux
Посмотреть сообщение
Em cada 1? mas vai demorar muito... se eu for fazer como eu faзo?faz esses 5° primeiros objetos aqui por favor? so pra mim fazer certo no pawn:


PHP код:
new tmpobjid
tmpobjid CreateObject(19358,2051.862,-1397.227,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2051.862,-1394.239,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2061.383,-1394.088,1717.972,0.000,0.000,0.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2053.553,-1398.828,1715.472,0.000,180.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2056.759,-1398.829,1715.472,0.000,180.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
tmpobjid CreateObject(19358,2063.165,-1398.833,1717.972,0.000,0.000,90.000,300.000); 
SetObjectMaterial(tmpobjid014674"civic02cj""sl_hotelwall1"0); 
PHP код:
new var[2];
var[
0] = CreateObject(193582051.862, -1397.2271717.9720.0000.0000.000300.000);
var[
1] = CreateObject(193582051.862, -1394.2391717.9720.0000.0000.000300.000);
for(new 
vars 0vars 2vars++) 
    
SetObjectMaterial(var[vars], 014674"civic02cj""sl_hotelwall1"0); 
E por aн vai...
Reply
#10

Mano eu colei esse que vc fez ai mas deu 1 warning:

PHP код:
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(369) : warning 217loose indentation
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


1 Warning

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)