[Ajuda] Problema com ediзгo de mapas
#1

Pessoal, quando eu edito o mapa do MTA Map Editor as vezes preciso excluir um ou outro objeto do mapa original. Normal neh??

Bom, mas quando eu converto o arquivo .map no site, os objetos que eu exclui nгo sгo "considerados" pois eles aparecem novamente quando eu adiciono o script ao OnGameModeInit()...

Alguma soluзгo?

Vlw
Reply
#2

Pelo que parece o site ta desatualizado, ele sу converte objetos e algumas funзхes que foram colocadas na versгo 1.0, jб em versхes acima da 1.0 ele nгo converte. O exemplo й da funзгo de remover objetos do mapa original, que eu me lembre foi colocado depois da 1.0.
Reply
#3

Vish, que pena :-/ rs

Como faзo para excluir esses objetos entгo??
Reply
#4

Use o prуprio Mta1.4 e converta seus objetos aqui http://snjrp.eu/mapconverter/
Reply
#5

Quote:
Originally Posted by silenthill
Посмотреть сообщение
Use o prуprio Mta1.4 e converta seus objetos aqui http://snjrp.eu/mapconverter/
Ok, vlw.

Mas eu tenho que colocar o cуdigo no OnGameModeInit() ou no OnPlayerUpdate()?? Porque quando eu coloco no OnGameModeInit() da sse erro:

pawn Код:
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(60) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(61) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(62) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(63) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(64) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(65) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(66) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(67) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(68) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(69) : error 017: undefined symbol "playerid"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(70) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


11 Errors.
Reply
#6

Vocк tem que colocar na callback OnPlayerConnect, a funзгo RemoveBuildingForPlayer.
Reply
#7

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Vocк tem que colocar na callback OnPlayerConnect, a funзгo RemoveBuildingForPlayer.
Cara, quando converti o map veio esse codigo:
pawn Код:
RemoveBuildingForPlayer(playerid, XXX, XXX, XXX, XXX, 0.25);
RemoveBuildingForPlayer(playerid, 17656, 2431.0547, -1677.4297, 20.3125, 0.25);
RemoveBuildingForPlayer(playerid, 17913, 2431.0547, -1677.4297, 20.3125, 0.25);
RemoveBuildingForPlayer(playerid, 17968, 2442.7625, -1646.9418, 27.03629, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 2425.8643, -1654.0067, 27.05462, 0.25);
RemoveBuildingForPlayer(playerid, 17657, 2431.0391, -1603.4922, 20.20313, 0.25);
RemoveBuildingForPlayer(playerid, 17898, 2431.0391, -1603.4922, 20.20313, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 2425.8945, -1620.9918, 26.96651, 0.25);
RemoveBuildingForPlayer(playerid, 1297, 2436.7383, -1598.3761, 25.89513, 0.25);
RemoveBuildingForPlayer(playerid, XXX, XXX, XXX, XXX, 0.25);
RemoveBuildingForPlayer(playerid, XXX, XXX, XXX, XXX, 0.25);
Ai coloco na OnPlayerConnect() da esse erro:
pawn Код:
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(79) : error 017: undefined symbol "XXX"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(88) : error 017: undefined symbol "XXX"
C:\Users\Junior\Desktop\BSPV\gamemodes\gm.pwn(89) : error 017: undefined symbol "XXX"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Exclui as linhas em que tem o XXX e compilou, ai fui testar e da um bug: o objeto desaparece e aparece denovo dependendo da posiзгo da cвmera do player (
Reply
#8

eu uso esse http://gtamap.delux-host.com/converter/
Reply
#9

Nгo sei se й este que vocк usa mas tenta remover por esse programa:

https://sampforum.blast.hk/showthread.php?tid=282801
Reply
#10

Quote:
Originally Posted by ReyMysterio
Посмотреть сообщение
Nгo sei se й este que vocк usa mas tenta remover por esse programa:

https://sampforum.blast.hk/showthread.php?tid=282801
Vlwww manolo!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)