SA-MP Forums Archive
[Ajuda] Erros !! :C - 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 !! :C (/showthread.php?tid=501704)



Erros !! :C - Firelink - 19.03.2014

C:\Users\acPC\Desktop\TOM 3.3.1\gamemodes\TOM.pwn(230 : warning 203: symbol is never used: "Dialog_SelectQuadrilha"
C:\Users\acPC\Desktop\TOM 3.3.1\gamemodes\TOM.pwn(230 : warning 203: symbol is never used: "Quadrilha_Create"
C:\Users\acPC\Desktop\TOM 3.3.1\gamemodes\TOM.pwn(230 : warning 203: symbol is never used: "Quadrilha_Join"
C:\Users\acPC\Desktop\TOM 3.3.1\gamemodes\TOM.pwn(230 : warning 203: symbol is never used: "Quadrilha_PlayerAllowed"
C:\Users\acPC\Desktop\TOM 3.3.1\gamemodes\TOM.pwn(230 : warning 203: symbol is never used: "Quadrilha_SendMessage"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Warnings.

Dialog_SelectQuadrilha

PHP код:
Dialog_SelectQuadrilha(playeridresponselistitem)
{
    if(!
response) return 1;
    new 
Quadrilha;
    
Quadrilha listitem;
    switch (
AQuadrilha[Quadrilha][Status])
    {
        case 
QUADRILHA_EMPTY:
        {
            
Quadrilha_Create(playeridQuadrilha);
        }
        case 
QUADRILHA_OPEN:
        {
            
Quadrilha_Join(playeridQuadrilha);
        }
        case 
QUADRILHA_FULL:
        {
            
SendClientMessage(playerid0xFFFFFFFFTXT_QuadrilhaCheia);
        }
        case 
QUADRILHA_CLOSED:
        {
            
SendClientMessage(playerid0xFFFFFFFFTXT_QuadrilhaEnRoute);
        }
    }
    return 
1;




Re: Erros !! :C - Cor3y - 19.03.2014

Vocк declarou os sнmbolos "Quadrilha_Create...Quadrilha_SendMessage", porйm nгo estб usando eles.
Abraзos.


Respuesta: Erros !! :C - Firelink - 19.03.2014

Que include coloco pra usa-los?


Respuesta: Erros !! :C - Firelink - 19.03.2014

Se eu defini '-'

#define MAX_QUADRILHAS 6
#define QUADRILHA_MAX_MEMBERS 30
#define QUADRILHA_EMPTY 0
#define QUADRILHA_OPEN 1
#define QUADRILHA_FULL 2
#define QUADRILHA_CLOSED 3

#define DialogSelectQuadrilha 1500
#define DialogQuadrilhaMembers 1501


Re: Erros !! :C - Blitz22 - 19.03.2014

Ta falando que o simbolo nao esta sendo usado, tipo ta criado mais voce nao ta usando


Respuesta: Erros !! :C - Firelink - 19.03.2014

ja consegui й na gm tem um case la q coloca