[Ajuda] erro no case 0:
#10

Quote:
Originally Posted by PT
View Post
pawn Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(response)
    {
        case ALUGUE:
        {
            if(!response)
                return SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vocк optou por nгo alugar.");
               
            if(GePlayerMoney(playerid) < 370)
                return SendClientMessage(playerid,COLOR_AZULCLARO,"| HOTEL | Vocк nгo tem R$370 para alugar!");
            if(GetPVarInt(playerid,"Sono") >= 75)
                return SendClientMessage(playerid,COLOR_AZULCLARO,"| SONO | Vocк nгo esta com sono!");
           
            SetPlayerPos(playerid, 2246.4041,-1164.5934,1030.4943);
            SetPlayerPos(playerid, 2252.9849,-1158.8644,1030.4410);
            SetPlayerPos(playerid, 2236.0242,-1154.6893,1030.4943);
            SetPlayerPos(playerid, 2229.6047,-1160.9651,1030.4410);
            SetPlayerPos(playerid, 2235.9683,-1165.5596,1030.4943);
            SetPlayerPos(playerid, 2230.5610,-1183.3994,1030.5249);
            SetPlayerPos(playerid, 2224.5496,-1176.9550,1030.4384);
            SetPlayerPos(playerid, 2204.6062,-1193.9602,1030.5249);
            SetPlayerPos(playerid, 2210.6392,-1200.2861,1030.4384);
            SetPlayerPos(playerid, 2230.8987,-1183.3547,1030.5249);
            SetPlayerPos(playerid, 2224.0601,-1176.9796,1030.4384);
            SetPlayerPos(playerid, 2198.2258,-1178.0868,1030.4943);
            SetPlayerPos(playerid, 2204.8206,-1171.5645,1030.4410);
            SetPlayerPos(playerid, 2187.9077,-1151.9406,1030.4943);
            SetPlayerPos(playerid, 2181.5906,-1158.4785,1030.4410);
            SetPlayerPos(playerid, 2217.3391,-1146.4551,1025.7969);
            SendClientMessage(playerid,COLOR_AZULCLARO, "| HOTEL | Vб para a cama e digite --> /Durmir");
            GivePlayerMoney(playerid, -370);
        }
    }
    return 0;
}
E espero que pare de me chamar Portuga o meu nick e PT, guarde mais respeito, pois nunca lhe faltei ao seu!
Quote:

D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(335) : error 017: undefined symbol "GePlayerMoney"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(363) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(365) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(366) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(36 : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(370) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(371) : error 010: invalid function or declaration
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 021: symbol already defined: "SetProgressBarValue"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 017: undefined symbol "playerid"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376) : error 021: symbol already defined: "UpdateProgressBar"
D:\Users\ZЈU\Desktop\Nova pasta\filterscripts\Untitled.pwn(376 -- 377) : fatal error 107: too many error messages on one line

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


11 Errors.

Ah e desculpa por te chamar de Portuga ^^ й que como seu nome ta PT e fala que localidade й de Portugal ai tomei a liberdade de Chamar de Portuga por causa da sigla PT
Se quiser eu mando as linhas do erro .
Reply


Messages In This Thread
erro no case 0: - by Alwe - 17.06.2014, 12:52
Re: erro no case 0: - by PT - 17.06.2014, 13:07
Re: erro no case 0: - by Alwe - 17.06.2014, 13:11
Re: erro no case 0: - by Dolby - 17.06.2014, 13:14
Re: erro no case 0: - by Alwe - 17.06.2014, 13:16
Re: erro no case 0: - by Kimossab - 17.06.2014, 13:21
Re: erro no case 0: - by Alwe - 17.06.2014, 13:25
Re: erro no case 0: - by PT - 17.06.2014, 13:46
Re: erro no case 0: - by Kimossab - 17.06.2014, 13:47
Re: erro no case 0: - by Alwe - 17.06.2014, 13:48

Forum Jump:


Users browsing this thread: 4 Guest(s)