SA-MP Forums Archive
[Ajuda] Erros com CheckPoint - 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] Erros com CheckPoint (/showthread.php?tid=516783)



Erros com CheckPoint - Alwe - 01.06.2014

Olб Internautas
Estou com um problema ao tentar modificar uma FS, trocando o Pickup por CheckPoint . Procurei um tutorial de como criar CheckPoint mais nгo foi o suficiente para eu sarar minhas duvidas, e conseguir retirar o erro que segue ;
Quote:

D:\Users\ZЈU\Desktop\IGOR\filterscripts\JFSConcess ionaria.pwn(14) : error 017: undefined symbol "CPS_AddCheckpoint"
D:\Users\ZЈU\Desktop\IGOR\filterscripts\JFSConcess ionaria.pwn(45) : warning 217: loose indentation
D:\Users\ZЈU\Desktop\IGOR\filterscripts\JFSConcess ionaria.pwn(14) : warning 204: symbol is assigned a value that is never used: "CP_Conce"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Linha dos erros ;
pawn Код:
CP_Conce = CPS_AddCheckpoint(542.3496, -1292.9395, 17.2422, 2.0, 50);
    gHeaderTextDrawId[playerid] = PlayerText:INVALID_TEXT_DRAW;



Respuesta: Erros com CheckPoint - SkullFire - 01.06.2014

Код:
#include <cpstream>



Re: Erros com CheckPoint - Alwe - 01.06.2014

Aparecendo isso agr
Quote:

D:\Users\ZЈU\Desktop\IGOR\filterscripts\JFSConcess ionaria.pwn(16) : warning 204: symbol is assigned a value that is never used: "CP_Conce"




Respuesta: Erros com CheckPoint - SkullFire - 01.06.2014

CP_Conce nгo estб sendo usado. Faзa a checagem usando essa callback do sa-mp

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    return 
1;




Re: Respuesta: Erros com CheckPoint - Alwe - 01.06.2014

Quote:
Originally Posted by SkullGamer
Посмотреть сообщение
CP_Conce nгo estб sendo usado. Use isso :

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    return 
1;

Obrigado ! +REP