help with error -
ScripteRNaBEEL - 30.06.2014
i getting some error
Код:
F:\Program Files\test\gamemodes\SATDM_1.pwn(6067) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6068) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6069) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6070) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6071) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6072) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6073) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6074) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6075) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6076) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6077) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6078) : error 017: undefined symbol "playerid"
F:\Program Files\test\gamemodes\SATDM_1.pwn(6079) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
13 Errors.
pawn Код:
RemoveBuildingForPlayer(playerid, 6456, 397.5391, -1848.4922, 12.1484, 0.25);
RemoveBuildingForPlayer(playerid, 625, 408.8594, -1803.4922, 7.5859, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1848.6641, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1831.1172, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1812.6094, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 378.0234, -1821.9922, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 384.4297, -1855.5234, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 381.7969, -1834.9219, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1371, 387.1328, -1831.4453, 7.5938, 0.25);
RemoveBuildingForPlayer(playerid, 6457, 385.0859, -1823.6484, 10.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 381.7969, -1809.3594, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 6288, 397.5391, -1848.4922, 12.1484, 0.25);
RemoveBuildingForPlayer(playerid, 1500, 387.5625, -1817.0859, 6.8203, 0.25);
Re: help with error -
BroZeus - 30.06.2014
put them OnPlayerConnect
Re: help with error -
ScripteRNaBEEL - 30.06.2014
thanks bhai.......
Re: help with error -
iFarbod - 30.06.2014
Place them under the OnPlayerConnect callback.
pawn Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 6456, 397.5391, -1848.4922, 12.1484, 0.25);
RemoveBuildingForPlayer(playerid, 625, 408.8594, -1803.4922, 7.5859, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1848.6641, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1831.1172, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 377.4531, -1812.6094, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 378.0234, -1821.9922, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1215, 384.4297, -1855.5234, 7.3750, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 381.7969, -1834.9219, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 1371, 387.1328, -1831.4453, 7.5938, 0.25);
RemoveBuildingForPlayer(playerid, 6457, 385.0859, -1823.6484, 10.2813, 0.25);
RemoveBuildingForPlayer(playerid, 1368, 381.7969, -1809.3594, 7.4766, 0.25);
RemoveBuildingForPlayer(playerid, 6288, 397.5391, -1848.4922, 12.1484, 0.25);
RemoveBuildingForPlayer(playerid, 1500, 387.5625, -1817.0859, 6.8203, 0.25);
// more code
return 1;
}