SA-MP Forums Archive
[Ajuda] chave de fechamento incomparбvel - 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] chave de fechamento incomparбvel (/showthread.php?tid=439157)



chave de fechamento incomparбvel - MatheusMendes - 24.05.2013

Код:
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1896) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1897) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1898) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1902) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1905) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1909) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1912) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1916) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1919) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1923) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1926) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1930) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1933) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1937) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1940) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1944) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1947) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1951) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1954) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1958) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1961) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1965) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1968) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1972) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1974) : error 010: invalid function or declaration
C:\Users\Matheus-PC\Desktop\[Gamemode] Gaming Fox Brasil ® (0.3x)\gamemodes\GFB.pwn(1977) : error 054: unmatched closing brace ("}")

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


26 Errors.
PHP код:
    if(dialogid ==Radios) {
        if(
response) {
            if(
listitem == 0) {
                
SendClientMessage(playeridAmarelo"Radio Funk Brasil Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Funk Brasil Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://70.36.100.78:10452/");
                return 
1;
            }
            if(
listitem == 1) {
                
SendClientMessage(playeridAmarelo"Radio Jovem Pan Sintonizada");
                
GameTextForPlayer(playerid,"~y~Radio Jovem Pan Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://64.15.147.220:8042/");
                return 
1;
            }
            if(
listitem == 2) {
                
SendClientMessage(playeridAmarelo"Radio Atlantida Sintonizada");
                
GameTextForPlayer(playerid,"~Y~Radio Atlantida Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://189.76.158.143:50002/");
                return 
1;
            }
            if(
listitem == 3) {
                
SendClientMessage(playeridAmarelo"Radio  Cidade FM Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Cidade Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://75.126.5.125:8226/");
                return 
1;
            }
            if(
listitem == 4) {
                
SendClientMessage(playeridAmarelo"Radio Mantiquera Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Mantiquera Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://184.154.37.136:8081/");
                return 
1;
            }
            if(
listitem == 5) {
                
SendClientMessage(playeridAmarelo"Radio Click mix Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Click Mix Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://50.30.33.114:9998");
                return 
1;
            }
            if(
listitem == 6) {
                
SendClientMessage(playeridAmarelo"Radio Virtual Dj Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Virtual Dj Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://173.212.197.233:7800");
                return 
1;
            }
            if(
listitem == 7) {
                
SendClientMessage(playeridAmarelo"Radio Vto Mix Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Vto Mix Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://s3.voscast.com:7554/");
                return 
1;
            }
            if(
listitem == 8) {
                
SendClientMessage(playeridAmarelo"Radio Team Expert Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Team Expert Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://64.31.30.91:9980");
                return 
1;
            }
            if(
listitem == 9) {
                
SendClientMessage(playeridAmarelo"Radio Relax Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Relax Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://streaming18.brlogic.com:8204/live");
                return 
1;
            }
            if(
listitem == 10) {
                
SendClientMessage(playeridAmarelo"Radio Novo Milenio Sintonizada");
                
GameTextForPlayer(playerid,"~w~Radio Novo Milenio Sintonizada",5000,3);
                
PlayAudioStreamForPlayer(playerid"http://174.142.79.66:8110");
                return 
1;
            }
            if(
listitem == 11) {
                
GameTextForPlayer(playerid,"~w~Radio Desligada Com Sucesso!",5000,3);
                
StopAudioStreamForPlayer(playerid);
            }
        }
        return 
1;
    } 
ta dando chave de fechamento incomparбvel na linha 1977, alguйm sabe como ageitar ?


Re: chave de fechamento incomparбvel - Bruno13 - 24.05.2013

Vocк tem a cor Amarelo definida?

Se nгo tiver й isso!

No topo do GM/FS
#define AMARELO 0xFFFF00AA


Re: chave de fechamento incomparбvel - MatheusMendes - 24.05.2013

tem sim foi eu que, coloquei a cor , esta dizendo que й na linha 1977


Re: chave de fechamento incomparбvel - Bruno13 - 24.05.2013

Posta bem certo aqui a linha 1977!


Re: chave de fechamento incomparбvel - MatheusMendes - 24.05.2013

ta mesmo, tinha esquecido de colocar:
PHP код:
#pragma tabsize 0 // PARA NAO DA ERROS DE LINHAS DESORGANIZADAS
native PlayAudioStreamForPlayer(playeridurl[], Float:posX 0.0Float:posY 0.0Float:posZ 0.0Float:distance 50.0usepos 0);
native StopAudioStreamForPlayer(playerid); 



Re: chave de fechamento incomparбvel - Bruno13 - 24.05.2013

+rep? kkkk