Erros -
lCebolinha - 30.10.2015
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
Re: Erros -
SepZ - 30.10.2015
Posta aqui a linha 351
Re: Erros -
Misael - 30.10.2015
manda o link de onde vocк baixou
Re: Erros -
lCebolinha - 30.10.2015
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);
Re: Erros -
matheusspohr - 30.10.2015
Estб colocando essas 2 linhas aonde?
Abraзos.
Re: Erros -
lCebolinha - 30.10.2015
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);
Re: Erros -
SepZ - 30.10.2015
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(playerid, 16336, -225.1875, 1394.8359, 68.5781, 0.25);
Re: Erros -
matheusspohr - 30.10.2015
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(playerid, 16336, -225.1875, 1394.8359, 68.5781, 0.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.
Re: Erros -
RafaelMau - 30.10.2015
Vocк tem o
#include <a_samp> no topo do FS/GM ?
Re: Erros -
matheusspohr - 30.10.2015
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.