Error with map
#1

I have mapped this but get error

Код:
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23336) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23337) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23338) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23339) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23340) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23341) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23342) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23343) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23344) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23345) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23346) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23347) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23348) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23349) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23350) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23351) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23352) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23353) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23354) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23355) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23356) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23357) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23358) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23359) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23360) : error 017: undefined symbol "playerid"
C:\Users\Ramin\Desktop\Spel\SAMP\GL-RP\gamemodes\GLRP.pwn(23361) : error 017: undefined symbol "playerid"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Код:
RemoveBuildingForPlayer(playerid, 4080, 1787.1328, -1565.6797, 11.9688, 0.25);
RemoveBuildingForPlayer(playerid, 4189, 1794.6172, -1576.7344, 17.7578, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1799.1563, -1596.5391, 13.4453, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1799.4844, -1594.4063, 14.5469, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1800.2891, -1598.2891, 14.6250, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1801.8750, -1592.4531, 14.4141, 0.25);
RemoveBuildingForPlayer(playerid, 1216, 1805.4063, -1600.4609, 13.2266, 0.25);
RemoveBuildingForPlayer(playerid, 1216, 1806.3906, -1599.6172, 13.2266, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1805.6328, -1589.9688, 14.5469, 0.25);
RemoveBuildingForPlayer(playerid, 1216, 1807.3828, -1598.7813, 13.2266, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1807.4688, -1590.4766, 13.4453, 0.25);
RemoveBuildingForPlayer(playerid, 1216, 1808.3750, -1597.9219, 13.2266, 0.25);
RemoveBuildingForPlayer(playerid, 1216, 1809.3438, -1597.0859, 13.2266, 0.25);
RemoveBuildingForPlayer(playerid, 647, 1808.8672, -1591.0547, 14.4609, 0.25);
RemoveBuildingForPlayer(playerid, 4000, 1787.1328, -1565.6797, 11.9688, 0.25);
RemoveBuildingForPlayer(playerid, 3754, 1417.2813, -945.8516, 39.7969, 0.25);
RemoveBuildingForPlayer(playerid, 1294, 1421.3906, -956.5469, 39.8125, 0.25);
RemoveBuildingForPlayer(playerid, 3685, 1249.5547, -905.4609, 45.0313, 0.25);
RemoveBuildingForPlayer(playerid, 3685, 1287.6875, -900.4609, 45.0625, 0.25);
RemoveBuildingForPlayer(playerid, 3685, 1284.2031, -871.2969, 45.2734, 0.25);
RemoveBuildingForPlayer(playerid, 3685, 1245.4609, -874.7031, 45.0703, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1241.1953, -886.8438, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1227.6094, -870.8047, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1266.4219, -913.1797, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1272.3516, -912.4531, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 3684, 1249.5547, -905.4609, 45.0313, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1263.8828, -894.3516, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1211, 1266.0859, -906.7031, 42.3984, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1270.9609, -896.6172, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1265.0313, -897.3516, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1271.8672, -892.3672, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1299.5000, -909.1406, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 3684, 1287.6875, -900.4609, 45.0625, 0.25);
RemoveBuildingForPlayer(playerid, 5847, 1295.8594, -895.0938, 41.7109, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1252.2578, -885.8750, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1262.9844, -882.2188, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 617, 1271.2031, -882.3984, 41.8750, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1285.6484, -881.3125, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3684, 1245.4609, -874.7031, 45.0703, 0.25);
RemoveBuildingForPlayer(playerid, 3684, 1284.2031, -871.2969, 45.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1232, 1303.1094, -879.9531, 44.3594, 0.25);
RemoveBuildingForPlayer(playerid, 3680, 1439.5859, -924.5000, 41.7969, 0.25);
RemoveBuildingForPlayer(playerid, 1687, 1435.3672, -922.5000, 48.1172, 0.25);
RemoveBuildingForPlayer(playerid, 1687, 1435.7969, -919.8438, 48.1172, 0.25);
RemoveBuildingForPlayer(playerid, 1307, 1446.1719, -934.8047, 35.1875, 0.25);
RemoveBuildingForPlayer(playerid, 3678, 1439.5859, -924.5000, 41.7969, 0.25);
RemoveBuildingForPlayer(playerid, 1690, 1444.5781, -920.8906, 47.9844, 0.25);
Reply
#2

Are you sure you placed that code under OnPlayerConnect?
Reply
#3

pawn Код:
public OnPlayerConnect(playerid)
{
    RemoveBuildingForPlayer(playerid, 4080, 1787.1328, -1565.6797, 11.9688, 0.25);
    RemoveBuildingForPlayer(playerid, 4189, 1794.6172, -1576.7344, 17.7578, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1799.1563, -1596.5391, 13.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1799.4844, -1594.4063, 14.5469, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1800.2891, -1598.2891, 14.6250, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1801.8750, -1592.4531, 14.4141, 0.25);
    RemoveBuildingForPlayer(playerid, 1216, 1805.4063, -1600.4609, 13.2266, 0.25);
    RemoveBuildingForPlayer(playerid, 1216, 1806.3906, -1599.6172, 13.2266, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1805.6328, -1589.9688, 14.5469, 0.25);
    RemoveBuildingForPlayer(playerid, 1216, 1807.3828, -1598.7813, 13.2266, 0.25);
    RemoveBuildingForPlayer(playerid, 700, 1807.4688, -1590.4766, 13.4453, 0.25);
    RemoveBuildingForPlayer(playerid, 1216, 1808.3750, -1597.9219, 13.2266, 0.25);
    RemoveBuildingForPlayer(playerid, 1216, 1809.3438, -1597.0859, 13.2266, 0.25);
    RemoveBuildingForPlayer(playerid, 647, 1808.8672, -1591.0547, 14.4609, 0.25);
    RemoveBuildingForPlayer(playerid, 4000, 1787.1328, -1565.6797, 11.9688, 0.25);
    RemoveBuildingForPlayer(playerid, 3754, 1417.2813, -945.8516, 39.7969, 0.25);
    RemoveBuildingForPlayer(playerid, 1294, 1421.3906, -956.5469, 39.8125, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 3685, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1241.1953, -886.8438, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1227.6094, -870.8047, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1261.9531, -913.7813, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1266.4219, -913.1797, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1272.3516, -912.4531, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1275.6016, -911.9609, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1249.5547, -905.4609, 45.0313, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1263.8828, -894.3516, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1211, 1266.0859, -906.7031, 42.3984, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1270.9609, -896.6172, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1265.0313, -897.3516, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.8672, -892.3672, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1299.5000, -909.1406, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1287.6875, -900.4609, 45.0625, 0.25);
    RemoveBuildingForPlayer(playerid, 5847, 1295.8594, -895.0938, 41.7109, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1252.2578, -885.8750, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1262.9844, -882.2188, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 617, 1271.2031, -882.3984, 41.8750, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1285.6484, -881.3125, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1245.4609, -874.7031, 45.0703, 0.25);
    RemoveBuildingForPlayer(playerid, 3684, 1284.2031, -871.2969, 45.2734, 0.25);
    RemoveBuildingForPlayer(playerid, 1232, 1303.1094, -879.9531, 44.3594, 0.25);
    RemoveBuildingForPlayer(playerid, 3680, 1439.5859, -924.5000, 41.7969, 0.25);
    RemoveBuildingForPlayer(playerid, 1687, 1435.3672, -922.5000, 48.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 1687, 1435.7969, -919.8438, 48.1172, 0.25);
    RemoveBuildingForPlayer(playerid, 1307, 1446.1719, -934.8047, 35.1875, 0.25);
    RemoveBuildingForPlayer(playerid, 3678, 1439.5859, -924.5000, 41.7969, 0.25);
    RemoveBuildingForPlayer(playerid, 1690, 1444.5781, -920.8906, 47.9844, 0.25);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)