[Ajuda] Remover objeto
#1

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?
Reply
#2

botou em qual public
Reply
#3

nenhuma :/ em qual eu coloco?
Reply
#4

Coloca na public OnPlayerConnect.
Reply
#5

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;
} 
Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)