[Ajuda] Remover objeto
#1

Eu removo os objetos

PHP код:
RemoveBuildingForPlayer(playerid59281309.9141, -1330.132825.18750.25);
    
RemoveBuildingForPlayer(playerid6201321.5234, -1374.429712.58590.25);
    
RemoveBuildingForPlayer(playerid6201292.0000, -1374.296912.36720.25);
    
RemoveBuildingForPlayer(playerid6201300.5859, -1374.296912.36720.25);
    
RemoveBuildingForPlayer(playerid57041309.9141, -1330.132825.18750.25);
    
RemoveBuildingForPlayer(playerid6201329.4766, -1374.429712.58590.25);
    
RemoveBuildingForPlayer(playerid6201330.6016, -1340.98446.10940.25);
    
RemoveBuildingForPlayer(playerid6201326.6953, -1316.00788.72660.25);
    
RemoveBuildingForPlayer(playerid6201327.5938, -1333.67196.10940.25);
    
RemoveBuildingForPlayer(playerid6201332.0000, -1309.42978.72660.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(playerid59281309.9141, -1330.132825.18750.25); 
    
RemoveBuildingForPlayer(playerid6201321.5234, -1374.429712.58590.25); 
    
RemoveBuildingForPlayer(playerid6201292.0000, -1374.296912.36720.25); 
    
RemoveBuildingForPlayer(playerid6201300.5859, -1374.296912.36720.25); 
    
RemoveBuildingForPlayer(playerid57041309.9141, -1330.132825.18750.25); 
    
RemoveBuildingForPlayer(playerid6201329.4766, -1374.429712.58590.25); 
    
RemoveBuildingForPlayer(playerid6201330.6016, -1340.98446.10940.25); 
    
RemoveBuildingForPlayer(playerid6201326.6953, -1316.00788.72660.25); 
    
RemoveBuildingForPlayer(playerid6201327.5938, -1333.67196.10940.25); 
    
RemoveBuildingForPlayer(playerid6201332.0000, -1309.42978.72660.25); 
    return 
1;

Reply
#6

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


Forum Jump:


Users browsing this thread: 1 Guest(s)