[Ajuda] MapIcons
#1

Olб pessoal, estava terminando de colocar os MapIcons. Mais infelizmente quando entrei no servidor aparece apenas 1 MapIcons.

Olhem o cуdigo.
pawn Код:
public OnPlayerConnect(playerid)
{
    //mapicones
    SetPlayerMapIcon(playerid, 1, 1154.9218,-1180.7816,32.8187,51,0); //caminhoneiros
    SetPlayerMapIcon(playerid, 1, 1022.6287,-1121.4216,23.8724,25,0); //cassino
    SetPlayerMapIcon(playerid, 1, 2001.4910,-1069.2363,24.1860,27,0); //oficina
    SetPlayerMapIcon(playerid, 1, 1553.7961,-1675.5767,16.1953,30,0); //policial
    SetPlayerMapIcon(playerid, 1, 328.7309,-1515.4921,35.8672,30,0); //federal
    SetPlayerMapIcon(playerid, 1, 606.5837,-1458.6088,14.3833,55,0); //detran
    SetPlayerMapIcon(playerid, 1, 562.1123,-1506.7531,14.5497,52,0); //banco
    SetPlayerMapIcon(playerid, 1, 649.3260,-1353.8809,13.5470,40,0); //jornal
    SetPlayerMapIcon(playerid, 1, 511.7586,-1510.9893,14.5672,36,0); //prefeitura
    SetPlayerMapIcon(playerid, 1, 1411.4908,-1700.2845,13.5395,42,0); //juiz
    SetPlayerMapIcon(playerid, 1, 1411.4908,-1700.2845,13.5395,43,0); //taxi
    SetPlayerMapIcon(playerid, 1, 1654.0618,-1654.7571,22.5156,16,0); //cia de seguranзa
    SetPlayerMapIcon(playerid, 1, 2337.4873,-1758.0955,13.1280,12,0); //hotel
    SetPlayerMapIcon(playerid, 1, 2597.3242,-1098.7311,68.3655,24,0); //deposito
    SetPlayerMapIcon(playerid, 1, 816.7084,-1102.3804,25.3689,23,0); //cemiterio
    SetPlayerMapIcon(playerid, 1, 1030.8669,-1097.4980,23.4057,44,0); //motoboy
    SetPlayerMapIcon(playerid, 1, 1288.9198,-1271.5157,13.5400,32,0); //imobiliaria
    //mapicones
    return 1;
}
Apenas o ъltimo MapIcons apareceu.
Reply
#2

Vocк colocou todos no mesmo ID,
pawn Код:
SetPlayerMapIcon(playerid, 1, 1154.9218,-1180.7816,32.8187,51,0); //caminhoneiros
    SetPlayerMapIcon(playerid, 2, 1022.6287,-1121.4216,23.8724,25,0); //cassino
    SetPlayerMapIcon(playerid, 3, 2001.4910,-1069.2363,24.1860,27,0); //oficina
    SetPlayerMapIcon(playerid, 4, 1553.7961,-1675.5767,16.1953,30,0); //policial
    SetPlayerMapIcon(playerid, 5, 328.7309,-1515.4921,35.8672,30,0); //federal
    SetPlayerMapIcon(playerid, 6, 606.5837,-1458.6088,14.3833,55,0); //detran
    SetPlayerMapIcon(playerid, 7, 562.1123,-1506.7531,14.5497,52,0); //banco
    SetPlayerMapIcon(playerid, 8, 649.3260,-1353.8809,13.5470,40,0); //jornal
    SetPlayerMapIcon(playerid, 9, 511.7586,-1510.9893,14.5672,36,0); //prefeitura
    SetPlayerMapIcon(playerid, 10, 1411.4908,-1700.2845,13.5395,42,0); //juiz
    SetPlayerMapIcon(playerid, 11, 1411.4908,-1700.2845,13.5395,43,0); //taxi
    SetPlayerMapIcon(playerid, 12, 1654.0618,-1654.7571,22.5156,16,0); //cia de seguranзa
    SetPlayerMapIcon(playerid, 13, 2337.4873,-1758.0955,13.1280,12,0); //hotel
    SetPlayerMapIcon(playerid, 14, 2597.3242,-1098.7311,68.3655,24,0); //deposito
    SetPlayerMapIcon(playerid, 15, 816.7084,-1102.3804,25.3689,23,0); //cemiterio
    SetPlayerMapIcon(playerid, 16, 1030.8669,-1097.4980,23.4057,44,0); //motoboy
    SetPlayerMapIcon(playerid, 17, 1288.9198,-1271.5157,13.5400,32,0); //imobiliaria
Reply
#3

Nossa como fui burro. Obrigado Kuddy!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)