All map icons shows as cash icon..
#1

Good morning samp forum members...
I have added this under OnPlayerConnect... But all icons shows as icon 52...
pawn Код:
SetPlayerMapIcon(playerid,52,1461.7559,-1015.0836,26.3333, 52, 0, MAPICON_LOCAL ); // bank
    SetPlayerMapIcon(playerid,18,1367.0090,-1278.1252,13.5469, 52, 0, MAPICON_LOCAL ); // amunation
    SetPlayerMapIcon(playerid,22,1174.9677,-1323.1633,14.5938, 52, 0, MAPICON_LOCAL ); // Hospital
    SetPlayerMapIcon(playerid,59,1215.4286,-1027.6790,32.2857, 52, 0, MAPICON_LOCAL ); // ballas
    SetPlayerMapIcon(playerid,62,954.8871,-1101.0513,23.7894, 52, 0, MAPICON_LOCAL ); // grove
    SetPlayerMapIcon(playerid,59,716.3604,-1583.3042,13.9216, 52, 0, MAPICON_LOCAL ); // ballas1
    SetPlayerMapIcon(playerid,62,420.4105,-1775.8407,5.0782, 52, 0, MAPICON_LOCAL ); // grove1
    SetPlayerMapIcon(playerid,59,1971.3020,-1173.6985,25.6867, 52, 0, MAPICON_LOCAL ); // ballas2
    SetPlayerMapIcon(playerid,59,2235.6946,-1262.3224,23.6637, 52, 0, MAPICON_LOCAL );// ballas3
    SetPlayerMapIcon(playerid,62,2484.7996,-1674.5823,13.0640, 52, 0, MAPICON_LOCAL ); // grove2
    SetPlayerMapIcon(playerid,62,2769.9092,-1942.6816,13.0869, 52, 0, MAPICON_LOCAL ); // grove3
    SetPlayerMapIcon(playerid,60,2830.1748,-1182.2776,24.5636, 52, 0, MAPICON_LOCAL ); // Vagos
    SetPlayerMapIcon(playerid,43,1186.2548,-2037.0311,68.7349, 52, 0, MAPICON_LOCAL ); // mafia
    SetPlayerMapIcon(playerid,61,1874.8761,-2047.7581,13.3828, 52, 0, MAPICON_LOCAL ); // varios
    SetPlayerMapIcon(playerid,30,1552.8046,-1674.1437,16.1953, 52, 0, MAPICON_LOCAL ); // police
With best regards Scrillex.
Reply
#2

This should work.
pawn Код:
SetPlayerMapIcon(playerid,1 /* This is the Icon ID, like pickup ids, etc*/,1461.7559,-1015.0836,26.3333, 52/* This is the icon type - like the dollar sign*/, 0, MAPICON_LOCAL ); // bank
    SetPlayerMapIcon(playerid,2,1367.0090,-1278.1252,13.5469, 18, 0, MAPICON_LOCAL ); // amunation
    SetPlayerMapIcon(playerid,3,1174.9677,-1323.1633,14.5938, 22, 0, MAPICON_LOCAL ); // Hospital
    SetPlayerMapIcon(playerid,4,1215.4286,-1027.6790,32.2857, 59, 0, MAPICON_LOCAL ); // ballas
    SetPlayerMapIcon(playerid,5,954.8871,-1101.0513,23.7894, 62, 0, MAPICON_LOCAL ); // grove
    SetPlayerMapIcon(playerid,6,716.3604,-1583.3042,13.9216, 59, 0, MAPICON_LOCAL ); // ballas1
    SetPlayerMapIcon(playerid,7,420.4105,-1775.8407,5.0782, 62, 0, MAPICON_LOCAL ); // grove1
    SetPlayerMapIcon(playerid,8,1971.3020,-1173.6985,25.6867, 59, 0, MAPICON_LOCAL ); // ballas2
    SetPlayerMapIcon(playerid,9,2235.6946,-1262.3224,23.6637, 59, 0, MAPICON_LOCAL );// ballas3
    SetPlayerMapIcon(playerid,10,2484.7996,-1674.5823,13.0640, 62, 0, MAPICON_LOCAL ); // grove2
    SetPlayerMapIcon(playerid,11,2769.9092,-1942.6816,13.0869, 52, 0, MAPICON_LOCAL ); // grove3
    SetPlayerMapIcon(playerid,12,2830.1748,-1182.2776,24.5636, 60, 0, MAPICON_LOCAL ); // Vagos
    SetPlayerMapIcon(playerid,13,1186.2548,-2037.0311,68.7349, 43, 0, MAPICON_LOCAL ); // mafia
    SetPlayerMapIcon(playerid,14,1874.8761,-2047.7581,13.3828, 61, 0, MAPICON_LOCAL ); // varios
    SetPlayerMapIcon(playerid,15,1552.8046,-1674.1437,16.1953, 30, 0, MAPICON_LOCAL ); // police
EDIT: Hehe :P
Reply
#3

LOL as I thought.. Ohh thanks buddy.. I know where I did it wrong now LOL so stupid mistake...
Reply
#4

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
Good morning samp forum members...
I have added this under OnPlayerConnect... But all icons shows as icon 52...
pawn Код:
SetPlayerMapIcon(playerid,52,1461.7559,-1015.0836,26.3333, 52, 0, MAPICON_LOCAL ); // bank
    SetPlayerMapIcon(playerid,18,1367.0090,-1278.1252,13.5469, [B]52[/B], 0, MAPICON_LOCAL ); // amunation
    SetPlayerMapIcon(playerid,22,1174.9677,-1323.1633,14.5938, [B]52[/B], 0, MAPICON_LOCAL ); // Hospital
    SetPlayerMapIcon(playerid,59,1215.4286,-1027.6790,32.2857, [B]52[/B], 0, MAPICON_LOCAL ); // ballas
    SetPlayerMapIcon(playerid,62,954.8871,-1101.0513,23.7894, 52, 0, MAPICON_LOCAL ); // grove
    SetPlayerMapIcon(playerid,59,716.3604,-1583.3042,13.9216, 52, 0, MAPICON_LOCAL ); // ballas1
    SetPlayerMapIcon(playerid,62,420.4105,-1775.8407,5.0782, 52, 0, MAPICON_LOCAL ); // grove1
    SetPlayerMapIcon(playerid,59,1971.3020,-1173.6985,25.6867, 52, 0, MAPICON_LOCAL ); // ballas2
    SetPlayerMapIcon(playerid,59,2235.6946,-1262.3224,23.6637, 52, 0, MAPICON_LOCAL );// ballas3
    SetPlayerMapIcon(playerid,62,2484.7996,-1674.5823,13.0640, 52, 0, MAPICON_LOCAL ); // grove2
    SetPlayerMapIcon(playerid,62,2769.9092,-1942.6816,13.0869, 52, 0, MAPICON_LOCAL ); // grove3
    SetPlayerMapIcon(playerid,60,2830.1748,-1182.2776,24.5636, 52, 0, MAPICON_LOCAL ); // Vagos
    SetPlayerMapIcon(playerid,43,1186.2548,-2037.0311,68.7349, 52, 0, MAPICON_LOCAL ); // mafia
    SetPlayerMapIcon(playerid,61,1874.8761,-2047.7581,13.3828, 52, 0, MAPICON_LOCAL ); // varios
    SetPlayerMapIcon(playerid,30,1552.8046,-1674.1437,16.1953, 52, 0, MAPICON_LOCAL ); // police
With best regards Scrillex.
You setted it all to '52' ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)