017: undefined symbol "RemoveBuildingForPlayer"
017: undefined symbol "playerid"
RemoveBuildingForPlayer(playerid, 1412, 1917.3203, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1912.0547, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1906.7734, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1927.8516, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1922.5859, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1938.3906, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1933.1250, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1821.1250, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1815.8594, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1810.5938, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1805.3281, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1948.9844, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1943.6875, -1797.4219, 13.8125, 0.25); RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1800.0625, 13.8125, 0.25);
Minhas includes estгo atualizadas.
Como devo colocar no OnPlayerConnect? Me deem o cуdigo de como devo pфr, por favor! |
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 1412, 1917.3203, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1912.0547, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1906.7734, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1927.8516, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1922.5859, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1938.3906, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1933.1250, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1821.1250, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1815.8594, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1810.5938, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1805.3281, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1948.9844, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1943.6875, -1797.4219, 13.8125, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1951.6094, -1800.0625, 13.8125, 0.25);
return 1;
}
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 1412, 1917.3203, -1797.4219, 13.8125, 0.25);
return 1;
}
Pronto bebe ta na mгo .
pawn Код:
|
C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1269) : error 029: invalid expression, assumed zero C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1269) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1271) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1272) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1273) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1274) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1275) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1276) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1277) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1278) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1279) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1280) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1281) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1282) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1283) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1284) : error 017: undefined symbol "playerid" C:\Users\Documentos\Meus Arquivos\BrasilSuperLife 0.3e\gamemodes\BrasilSuperLife_RPG.pwn(1288) : warning 225: unreachable code
Код:
public OnPlayerConnect(playerid) { for(new i=0; i<MAX_PLAYERS; i++) { RemoveBuildingForPlayer(i, 1412, 1917.3203, -1797.4219, 13.8125, 0.25); return 1; } } |
public OnPlayerConnect