C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1031) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1032) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1033) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1034) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1035) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1036) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1037) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1038) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1039) : error 017: undefined symbol "playerid" C:\Users\Admin\Desktop\Moj SRV\gamemodes\MojMod.pwn(1040) : error 017: undefined symbol "playerid"
RemoveBuildingForPlayer(playerid, 3369, 349.8750, 2438.2500, 15.4766, 0.25); RemoveBuildingForPlayer(playerid, 3369, 242.3984, 2438.2500, 15.4766, 0.25); RemoveBuildingForPlayer(playerid, 3367, 296.1406, 2438.2500, 15.4766, 0.25); RemoveBuildingForPlayer(playerid, 16598, 231.2813, 2545.7969, 20.0234, 0.25); RemoveBuildingForPlayer(playerid, 16602, 307.9531, 2543.4531, 20.3984, 0.25); RemoveBuildingForPlayer(playerid, 3269, 242.3984, 2438.2500, 15.4766, 0.25); RemoveBuildingForPlayer(playerid, 16599, 231.2813, 2545.7969, 20.0234, 0.25); RemoveBuildingForPlayer(playerid, 16098, 307.9531, 2543.4531, 20.3984, 0.25); RemoveBuildingForPlayer(playerid, 3271, 296.1406, 2438.2500, 15.4766, 0.25); RemoveBuildingForPlayer(playerid, 3269, 349.8750, 2438.2500, 15.4766, 0.25);
new playerid;
stock RemoveObjectsForPlayer(playerid) { you remove object codes }
RemoveObjectsForPlayer(playerid);
Did you add this under OnGameModeInit? It doesn't have a parameter called "playerid" you should remove these when a player connects, the fix you did above will not be detected by compile as an issue but this won't work either. You can directly add them under OnPlayerConnect or maybe use as henkas said.
|
RemoveObjectForPlayer
What should i do then??
Should i put Код:
RemoveObjectForPlayer |