[Ajuda] MapIcons.
#1

Boa Tarde.
Estou com um problema em MapIcons de meu servidor, somente alguns aparecem, outros nгo.
Jб tentei criar um FS e por os mapicons para dar load no GM mas nгo funcionou.

PHP код:
SetPlayerMapIcon(playerid01153.9777, -1762.274914.5659520); // Banco
SetPlayerMapIcon(playerid11364.6578, -1279.681013.546960);  // Ammunation
SetPlayerMapIcon(playerid22244.6306, -1664.575015.4766450); // Skin
SetPlayerMapIcon(playerid31631.7791, -1171.701424.0781250); // Loteria
SetPlayerMapIcon(playerid41847.2454, -1871.725313.5781260); // Utilitarios
SetPlayerMapIcon(playerid52370.2754, -1034.986854.4106240); // Drogas
SetPlayerMapIcon(playerid6432.2299, -1646.112225.7049210);  // Farmacia
SetPlayerMapIcon(playerid72764.0537, -2387.829813.6328510); // Carregar
SetPlayerMapIcon(playerid8, -2462.63722268.09084.7966510); // Descarregar
SetPlayerMapIcon(playerid91835.3776, -1682.497813.392348); // Alhambra 
Alguйm ajuda?
Reply
#2

Colocou quantos MapIcon?
Reply
#3

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Colocou quantos MapIcon?
Somentes esses.
Reply
#4

Up??
Reply
#5

Quote:
Originally Posted by Ley
Посмотреть сообщение
Up??
PHP код:
public OnPlayerConnect(playerid)//Coloca na Public OnPlayerConnect
{
    
SetPlayerMapIcon(playerid01153.9777, -1762.274914.5659520xE6E6E6E6); // Banco
    
SetPlayerMapIcon(playerid11364.6578, -1279.681013.546960xE6E6E6E6);  // Ammunation
    
SetPlayerMapIcon(playerid22244.6306, -1664.575015.4766450xE6E6E6E6); // Skin
    
SetPlayerMapIcon(playerid31631.7791, -1171.701424.0781250xE6E6E6E6); // Loteria
    
SetPlayerMapIcon(playerid41847.2454, -1871.725313.5781260xE6E6E6E6); // Utilitarios
    
SetPlayerMapIcon(playerid52370.2754, -1034.986854.4106240xE6E6E6E6); // Drogas
    
SetPlayerMapIcon(playerid6432.2299, -1646.112225.7049210xE6E6E6E6);  // Farmacia
    
SetPlayerMapIcon(playerid72764.0537, -2387.829813.6328510xE6E6E6E6); // Carregar
    
SetPlayerMapIcon(playerid8, -2462.63722268.09084.7966510xE6E6E6E6); // Descarregar
    
SetPlayerMapIcon(playerid91835.3776, -1682.497813.3923480xE6E6E6E6 ); // Alhambra

Reply
#6

Quote:
Originally Posted by Life Advanced
Посмотреть сообщение
PHP код:
public OnPlayerConnect(playerid)//Coloca na Public OnPlayerConnect
{
    
SetPlayerMapIcon(playerid01153.9777, -1762.274914.5659520xE6E6E6E6); // Banco
    
SetPlayerMapIcon(playerid11364.6578, -1279.681013.546960xE6E6E6E6);  // Ammunation
    
SetPlayerMapIcon(playerid22244.6306, -1664.575015.4766450xE6E6E6E6); // Skin
    
SetPlayerMapIcon(playerid31631.7791, -1171.701424.0781250xE6E6E6E6); // Loteria
    
SetPlayerMapIcon(playerid41847.2454, -1871.725313.5781260xE6E6E6E6); // Utilitarios
    
SetPlayerMapIcon(playerid52370.2754, -1034.986854.4106240xE6E6E6E6); // Drogas
    
SetPlayerMapIcon(playerid6432.2299, -1646.112225.7049210xE6E6E6E6);  // Farmacia
    
SetPlayerMapIcon(playerid72764.0537, -2387.829813.6328510xE6E6E6E6); // Carregar
    
SetPlayerMapIcon(playerid8, -2462.63722268.09084.7966510xE6E6E6E6); // Descarregar
    
SetPlayerMapIcon(playerid91835.3776, -1682.497813.3923480xE6E6E6E6 ); // Alhambra

Obrigado, irei testar...
Mas vocк poderia me dizer o porque do 0xE6E6E6E6 ?
Reply
#7

errado ainda ^^


0: MAPICON_LOCAL Display in the player's local area - Exibir no local do jogador
1: MAPICON_GLOBAL Display always - Mostrar sempre
2: MAPICON_LOCAL_CHECKPOINT Display in the player's local area and has a checkpoint marker - Exibir no local do jogador e tem um marcador checkpoint
3: MAPICON_GLOBAL_CHECKPOINT Display always and has a checkpoint marker - Exibir sempre e tem um marcador checkpoint


Ex:
pawn Код:
SetPlayerMapIcon(playerid, 0, 1153.9777, -1762.2749, 14.5659, 52, 0, MAPICON_LOCAL); // Banco
Fonte: https://sampwiki.blast.hk/wiki/SetPlayerMapIcon
Reply
#8

Quote:
Originally Posted by Ley
Посмотреть сообщение
Obrigado, irei testar...
Mas vocк poderia me dizer o porque do 0xE6E6E6E6 ?
Й a cor (https://sampwiki.blast.hk/wiki/SetPlayerMapIcon)
Reply
#9

Quote:
Originally Posted by jpeg
Посмотреть сообщение
errado ainda ^^


0: MAPICON_LOCAL Display in the player's local area - Exibir no local do jogador
1: MAPICON_GLOBAL Display always - Mostrar sempre
2: MAPICON_LOCAL_CHECKPOINT Display in the player's local area and has a checkpoint marker - Exibir no local do jogador e tem um marcador checkpoint
3: MAPICON_GLOBAL_CHECKPOINT Display always and has a checkpoint marker - Exibir sempre e tem um marcador checkpoint


Ex:
pawn Код:
SetPlayerMapIcon(playerid, 0, 1153.9777, -1762.2749, 14.5659, 52, 0, MAPICON_LOCAL); // Banco
Obrigado, ajudou muito. Irei testar.
Reply
#10

Como o Cara amigo falo (jpeg)

PHP код:
//-----------------------------//
SetPlayerMapIconplayerid122204.94681986.287716.7380520MAPICON_LOCAL );

//--------[ Significa cada coisa ]
playerid    The ID of the player to set the map icon for.
iconid    The player's icon ID, ranging from 0 to 99, to be used in RemovePlayerMapIcon.
Float:x    The X coordinate of the place where you want the icon to be.
Float:y    The Y coordinate of the place where you want the icon to be.
Float:z    The Z coordinate of the place where you want the icon to be.
markertype    The icon to set.
color    The color of the icon, this should only be used with the square icon (ID: 0).
style    See Below 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)