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



cpstream - Bruno Bastos - 03.11.2012

Olб senhores, gostaria da ajuda de vocкs no seguinte code..
pawn Код:
#include <cpstream>  
new CheckPoints[5];

//public OnGameModeInit
    CheckPoints[0] = CPS_AddCheckpoint(2316.3206, -15.4523, 26.7422, 1.5, 2.0); // CheckPoint Banco Sul

//public OnPlayerEnterCheckpoint(playerid)
    new checknome = CPS_GetPlayerCheckpoint(playerid);
    if(checknome == CheckPoints[0])
    {
        ShowPlayerDialog(playerid, BANCO_LS_SUL, DIALOG_STYLE_LIST, "Banco BRS:", "Saldo\nDeposito\nSaque", "Sair", "");
        return 1;
    }
1 Aviso Linha:
pawn Код:
CheckPoints[0] = CPS_AddCheckpoint(2316.3206, -15.4523, 26.7422, 1.5, 2.0); // CheckPoint Banco Sul
Motivo: C:\Users\Bruno\Desktop\Blaze.pwn(143) : warning 213: tag mismatch

Quem puder me ajudar agradeзo !

EDIT: Gostaria de saber tambйm se atualmente tem alguma include mais avanзada "melhorada" do que a CPSTREAM..


Re: cpstream - davi54723 - 03.11.2012

http://fusionsamp.blogspot.com.br/20...eator-v10.html

Resolve seu problema?


Re: cpstream - Bruno Bastos - 03.11.2012

Nгo


Re: cpstream - Sky™ - 03.11.2012

pawn Код:
CheckPoints[0] = CPS_AddCheckpoint(2316.3206, -15.4523, 26.7422, 1.5, 40);



Re: cpstream - Bruno Bastos - 03.11.2012

Valeuuu sky +repp poderia explicar o que eu tinha feito de errado?


Re: cpstream - Sky™ - 03.11.2012

Simples!

nгo sei como chego a isso!
pawn Код:
CheckPoints[0] = CPS_AddCheckpoint(2316.3206, -15.4523, 26.7422, 1.5, /*2.0*/);
correto!
pawn Код:
CheckPoints[0] = CPS_AddCheckpoint(2316.3206, -15.4523, 26.7422, 1.5, 40);
40 ali no final Distacia 2.0 ali tava como invalido so trabalhe com numeros inteiros ali!

somente estude os parametros!

pawn Код:
CPS_AddCheckpoint(Float:X,Float:Y,Float:Z,Float:size,spawn_dist)
//cordenadas x,y,z, Tamanho, Distancia


Re: cpstream - Bruno Bastos - 03.11.2012

Ah sim, agora entendi, obrigadгo!