[Ajuda] Erros
#1

Baixei uns mapas cm codigos pastebin so que botei na gm e fui copilar e da esses erros aki
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(351) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(352) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(353) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(354) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(355) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(356) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(357) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(35 : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(359) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(360) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(361) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(362) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(363) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(364) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(365) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(366) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(367) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(36 : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(369) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(370) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(371) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(372) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(373) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(374) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(375) : error 017: undefined symbol "playerid"
C:\Users\PH.Coelho\Desktop\port_4048\gamemodes\BUT .pwn(376) : error 017: undefined symbol "playerid"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
alguem ajuda pf
Reply
#2

Posta aqui a linha 351
Reply
#3

manda o link de onde vocк baixou
Reply
#4

Quote:
Originally Posted by SepZ
Посмотреть сообщение
Posta aqui a linha 351
350 new pLixao[1], lPlaca[1], pPosto[1], pBombeiro[3], lTeto[18], pPBombeiro[1], cCluckin[2];
351 RemoveBuildingForPlayer(playerid, 16336, -225.1875, 1394.8359, 68.5781, 0.25);
Reply
#5

Estб colocando essas 2 linhas aonde?

Abraзos.
Reply
#6

Quote:
Originally Posted by matheusspohr
Посмотреть сообщение
Estб colocando essas 2 linhas aonde?

Abraзos.
debaixo disso aki
CreateDynamicObject(3526,57.9000000,-1529.1999500,4.1000000,0.0000000,0.0000000,0.00000 00); //object(vegasairportlight) (37)
CreateDynamicObject(3526,58.0000000,-1528.1999500,4.1000000,0.0000000,0.0000000,0.00000 00); //object(vegasairportlight) (37)
//Nova Forte Carson
new pLixao[1], lPlaca[1], pPosto[1], pBombeiro[3], lTeto[18], pPBombeiro[1], cCluckin[2];
RemoveBuildingForPlayer(playerid, 16336, -225.1875, 1394.8359, 68.5781, 0.25);
Reply
#7

RemoveBuildingForPlayer nгo fica em OnGameModeInit, fica em OnPlayerConnect

PHP код:
public OnPlayerConnect(playerid)
{
    new 
pLixao[1], lPlaca[1], pPosto[1], pBombeiro[3], lTeto[18], pPBombeiro[1], cCluckin[2];
    
RemoveBuildingForPlayer(playerid16336, -225.18751394.835968.57810.25); 
Reply
#8

Mude as RemoveBuildingForPlayer para a public OnPlayerConnect, e o problema estarб resolvido.

E corrigindo o erro do amigo acima:
Quote:
Originally Posted by SepZ
Посмотреть сообщение
RemoveBuildingForPlayer nгo fica em OnGameModeInit, fica em OnPlayerConnect

PHP код:
public OnPlayerConnect(playerid)
{
    new 
pLixao[1], lPlaca[1], pPosto[1], pBombeiro[3], lTeto[18], pPBombeiro[1], cCluckin[2];
    
RemoveBuildingForPlayer(playerid16336, -225.18751394.835968.57810.25); 
Mude sу as RemoveBuildingForPlayer para a public OnPlayerConnect;
As variбveis (new pLixao[1], lPlaca[1], pPosto[1], pBombeiro[3], lTeto[18], pPBombeiro[1], cCluckin[2] mude para o inicio do seu GM ou FS ou cуdigo.
As CreateDynamicObject && CreateObject deixe em OnGameModeInit ou aonde estava.
Reply
#9

Vocк tem o #include <a_samp> no topo do FS/GM ?
Reply
#10

Quote:
Originally Posted by RafaelMau
Посмотреть сообщение
Vocк tem o #include <a_samp> no topo do FS/GM ?
Nгo vou nem comentar que o problema jб estб resolvido acima, sу mesmo ele confirmar, duvido muito dele nгo ter a include, pois se nгo tive-se estaria dando erro atй nas CreateDynamicObject.

Abraзos.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)