SA-MP Forums Archive
[Ajuda] Remover objeto - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Remover objeto (/showthread.php?tid=579944)



Remover objeto - Andelux - 01.07.2015

Eu removo os objetos

PHP код:
RemoveBuildingForPlayer(playerid, 5928, 1309.9141, -1330.1328, 25.1875, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1321.5234, -1374.4297, 12.5859, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1292.0000, -1374.2969, 12.3672, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1300.5859, -1374.2969, 12.3672, 0.25);
    
RemoveBuildingForPlayer(playerid, 5704, 1309.9141, -1330.1328, 25.1875, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1329.4766, -1374.4297, 12.5859, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1330.6016, -1340.9844, 6.1094, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1326.6953, -1316.0078, 8.7266, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1327.5938, -1333.6719, 6.1094, 0.25);
    
RemoveBuildingForPlayer(playerid, 620, 1332.0000, -1309.4297, 8.7266, 0.25); 
e da o seguinte erro para todos os demais objetos:


Quote:

C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(366) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(367) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(36 : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(369) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(370) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(371) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(372) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(373) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(374) : error 017: undefined symbol "playerid"
C:\Users\Icaro F\Desktop\Life Virtual Base\gamemodes\LV.pwn(375) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


10 Errors.

alguem sabe como tirar?


Re: Remover objeto - JuniorTheDM - 01.07.2015

botou em qual public


Re: Remover objeto - Andelux - 01.07.2015

nenhuma :/ em qual eu coloco?


Re: Remover objeto - ipsLuan - 01.07.2015

Coloca na public OnPlayerConnect.


Re: Remover objeto - JuniorTheDM - 01.07.2015

Nessa , Se Ajudei +REP !
PHP код:
public OnPlayerConnect(playerid)
{
    
RemoveBuildingForPlayer(playerid, 5928, 1309.9141, -1330.1328, 25.1875, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1321.5234, -1374.4297, 12.5859, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1292.0000, -1374.2969, 12.3672, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1300.5859, -1374.2969, 12.3672, 0.25); 
    
RemoveBuildingForPlayer(playerid, 5704, 1309.9141, -1330.1328, 25.1875, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1329.4766, -1374.4297, 12.5859, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1330.6016, -1340.9844, 6.1094, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1326.6953, -1316.0078, 8.7266, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1327.5938, -1333.6719, 6.1094, 0.25); 
    
RemoveBuildingForPlayer(playerid, 620, 1332.0000, -1309.4297, 8.7266, 0.25); 
    return 
1;
} 



Re: Remover objeto - Andelux - 01.07.2015

Obrigado ... se possivel responda meu outro tуpico obrigado