Undifed symbol "playerid"
#1

Код:
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Lines..

Код:
SetPlayerMapIcon(playerid,12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
	SetPlayerMapIcon(playerid, 1, 1564.5457, -1675.3245, 61.8977, 30, 0); //lspd
	SetPlayerMapIcon(playerid, 2, 1461.8095, -1010.9515, 61.1702, 52, 0); //bank
	SetPlayerMapIcon(playerid, 3, 2143.5302, -2259.8565, 26.5776, 51, 0); //matfactory 01
	SetPlayerMapIcon(playerid, 4, 2287.9749, -1105.7727, 37.9766, 51, 0); //matfactory 02
	SetPlayerMapIcon(playerid, 5, 2166.3771, -1675.383, 15.0859, 24, 0); //drughouse
	SetPlayerMapIcon(playerid, 6, 2337.8855, -1185.4025, 35.5452, 16, 0); //crackhouse
	SetPlayerMapIcon(playerid, 7, 411.8294, -2050.2601, -0.4745, 9, 0); //pier
	SetPlayerMapIcon(playerid, 9, 2329.4089, -2316.0997, 13.5468, 56, 0); //job mechanic
	SetPlayerMapIcon(playerid, 11, 2226.1716, -1718.1792, 13.5165, 56, 0); //job bodyguard
	SetPlayerMapIcon(playerid, 12, 1741.7062, -1863.6664, 13.5748, 56, 0); //job taxi
	SetPlayerMapIcon(playerid, 14, 2419.4851, -1218.3659, 36.0312, 56, 0); //job whore
	SetPlayerMapIcon(playerid, 15, 1381.0413, -1088.8511, 27.3906, 56, 0); //job lawyer
	SetPlayerMapIcon(playerid, 16, 2048.4106, -1409.1826, 75.0372, 22, 0); //hospital 01
	SetPlayerMapIcon(playerid, 17, 1147.9742, -1344.0618, 49.2668, 22, 0); //hospital 02
	SetPlayerMapIcon(playerid, 18, 1352.0488, -1760.0387, 19.0781, 17, 0); //247
	SetPlayerMapIcon(playerid, 19, 1835.2926,-1842.5190, 15.6688, 17, 0); //247
	SetPlayerMapIcon(playerid, 20, 1315.2627, -895.1893, 45.2266, 17, 0); //247
	SetPlayerMapIcon(playerid, 21, 1004.9810, -919.5718, 46.6641, 17, 0); //247
	SetPlayerMapIcon(playerid, 22, 2252.3826, -1662.1138, 15.2817, 45, 0); //clothes store
	SetPlayerMapIcon(playerid, 23, 1458.7700, -1140.0200, 24.0692, 45, 0); //clothes store
	SetPlayerMapIcon(playerid, 24, 458.6580, -1500.4800, 31.0444, 45, 0); //clothes store
	SetPlayerMapIcon(playerid, 25, 1498.4185, -2182.5278, 14.1682, 20, 0); //fire department
	SetPlayerMapIcon(playerid, 27, 63.9923, -305.5689, 1.5781, 11, 0); //drug factory
	SetPlayerMapIcon(playerid, 29, 612.8910, -564.9972, 26.1432, 30, 0); //PD
	SetPlayerMapIcon(playerid, 31, 1359.6918, 312.5298, 24.5555, 18, 0);
Reply
#2

What callback is this in?
Reply
#3

Callback?
Reply
#4

hmm r u trying to put those @ OnGameModeInit ?

u should put them @ OnPlayerSpawn
Reply
#5

Quote:
Originally Posted by Unknown_Killer
Посмотреть сообщение
hmm r u trying to put those @ OnGameModeInit ?

u should put them @ OnPlayerSpawn
Tried, not working @OnPlayerSpawn.
Reply
#6

pawn Код:
SetPlayerMapIcon(playerid, 0, 12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
    SetPlayerMapIcon(playerid, 1, 1564.5457, -1675.3245, 61.8977, 30, 0); //lspd
    SetPlayerMapIcon(playerid, 2, 1461.8095, -1010.9515, 61.1702, 52, 0); //bank
    SetPlayerMapIcon(playerid, 3, 2143.5302, -2259.8565, 26.5776, 51, 0); //matfactory 01
    SetPlayerMapIcon(playerid, 4, 2287.9749, -1105.7727, 37.9766, 51, 0); //matfactory 02
    SetPlayerMapIcon(playerid, 5, 2166.3771, -1675.383, 15.0859, 24, 0); //drughouse
    SetPlayerMapIcon(playerid, 6, 2337.8855, -1185.4025, 35.5452, 16, 0); //crackhouse
    SetPlayerMapIcon(playerid, 7, 411.8294, -2050.2601, -0.4745, 9, 0); //pier
    SetPlayerMapIcon(playerid, 9, 2329.4089, -2316.0997, 13.5468, 56, 0); //job mechanic
    SetPlayerMapIcon(playerid, 11, 2226.1716, -1718.1792, 13.5165, 56, 0); //job bodyguard
    SetPlayerMapIcon(playerid, 12, 1741.7062, -1863.6664, 13.5748, 56, 0); //job taxi
    SetPlayerMapIcon(playerid, 14, 2419.4851, -1218.3659, 36.0312, 56, 0); //job whore
    SetPlayerMapIcon(playerid, 15, 1381.0413, -1088.8511, 27.3906, 56, 0); //job lawyer
    SetPlayerMapIcon(playerid, 16, 2048.4106, -1409.1826, 75.0372, 22, 0); //hospital 01
    SetPlayerMapIcon(playerid, 17, 1147.9742, -1344.0618, 49.2668, 22, 0); //hospital 02
    SetPlayerMapIcon(playerid, 18, 1352.0488, -1760.0387, 19.0781, 17, 0); //247
    SetPlayerMapIcon(playerid, 19, 1835.2926,-1842.5190, 15.6688, 17, 0); //247
    SetPlayerMapIcon(playerid, 20, 1315.2627, -895.1893, 45.2266, 17, 0); //247
    SetPlayerMapIcon(playerid, 21, 1004.9810, -919.5718, 46.6641, 17, 0); //247
    SetPlayerMapIcon(playerid, 22, 2252.3826, -1662.1138, 15.2817, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 23, 1458.7700, -1140.0200, 24.0692, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 24, 458.6580, -1500.4800, 31.0444, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 25, 1498.4185, -2182.5278, 14.1682, 20, 0); //fire department
    SetPlayerMapIcon(playerid, 27, 63.9923, -305.5689, 1.5781, 11, 0); //drug factory
    SetPlayerMapIcon(playerid, 29, 612.8910, -564.9972, 26.1432, 30, 0); //PD
    SetPlayerMapIcon(playerid, 31, 1359.6918, 312.5298, 24.5555, 18, 0);
try this now
Reply
#7

Quote:
Originally Posted by Unknown_Killer
Посмотреть сообщение
pawn Код:
SetPlayerMapIcon(playerid, 0, 12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
    SetPlayerMapIcon(playerid, 1, 1564.5457, -1675.3245, 61.8977, 30, 0); //lspd
    SetPlayerMapIcon(playerid, 2, 1461.8095, -1010.9515, 61.1702, 52, 0); //bank
    SetPlayerMapIcon(playerid, 3, 2143.5302, -2259.8565, 26.5776, 51, 0); //matfactory 01
    SetPlayerMapIcon(playerid, 4, 2287.9749, -1105.7727, 37.9766, 51, 0); //matfactory 02
    SetPlayerMapIcon(playerid, 5, 2166.3771, -1675.383, 15.0859, 24, 0); //drughouse
    SetPlayerMapIcon(playerid, 6, 2337.8855, -1185.4025, 35.5452, 16, 0); //crackhouse
    SetPlayerMapIcon(playerid, 7, 411.8294, -2050.2601, -0.4745, 9, 0); //pier
    SetPlayerMapIcon(playerid, 9, 2329.4089, -2316.0997, 13.5468, 56, 0); //job mechanic
    SetPlayerMapIcon(playerid, 11, 2226.1716, -1718.1792, 13.5165, 56, 0); //job bodyguard
    SetPlayerMapIcon(playerid, 12, 1741.7062, -1863.6664, 13.5748, 56, 0); //job taxi
    SetPlayerMapIcon(playerid, 14, 2419.4851, -1218.3659, 36.0312, 56, 0); //job whore
    SetPlayerMapIcon(playerid, 15, 1381.0413, -1088.8511, 27.3906, 56, 0); //job lawyer
    SetPlayerMapIcon(playerid, 16, 2048.4106, -1409.1826, 75.0372, 22, 0); //hospital 01
    SetPlayerMapIcon(playerid, 17, 1147.9742, -1344.0618, 49.2668, 22, 0); //hospital 02
    SetPlayerMapIcon(playerid, 18, 1352.0488, -1760.0387, 19.0781, 17, 0); //247
    SetPlayerMapIcon(playerid, 19, 1835.2926,-1842.5190, 15.6688, 17, 0); //247
    SetPlayerMapIcon(playerid, 20, 1315.2627, -895.1893, 45.2266, 17, 0); //247
    SetPlayerMapIcon(playerid, 21, 1004.9810, -919.5718, 46.6641, 17, 0); //247
    SetPlayerMapIcon(playerid, 22, 2252.3826, -1662.1138, 15.2817, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 23, 1458.7700, -1140.0200, 24.0692, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 24, 458.6580, -1500.4800, 31.0444, 45, 0); //clothes store
    SetPlayerMapIcon(playerid, 25, 1498.4185, -2182.5278, 14.1682, 20, 0); //fire department
    SetPlayerMapIcon(playerid, 27, 63.9923, -305.5689, 1.5781, 11, 0); //drug factory
    SetPlayerMapIcon(playerid, 29, 612.8910, -564.9972, 26.1432, 30, 0); //PD
    SetPlayerMapIcon(playerid, 31, 1359.6918, 312.5298, 24.5555, 18, 0);
try this now
Whats the diffrence?
Reply
#8

well the first mapicon u didnt put the number

this is urs
pawn Код:
SetPlayerMapIcon(playerid,12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
this is the right one
pawn Код:
SetPlayerMapIcon(playerid, 0, 12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
Reply
#9

Quote:
Originally Posted by Unknown_Killer
Посмотреть сообщение
well the first mapicon u didnt put the number

this is urs
pawn Код:
SetPlayerMapIcon(playerid,12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
this is the right one
pawn Код:
SetPlayerMapIcon(playerid, 0, 12,2244.21,-1665.51,15.48,45,MAPICON_LOCAL);//Binco
Doesnt work :/
Reply
#10

weird check if there is other SetPlayerMapIcon oh btw did u still getting playerid error?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)