[Ajuda] chave de fechamento incomparбvel
#1

Код:
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 ?
Reply
#2

Vocк tem a cor Amarelo definida?

Se nгo tiver й isso!

No topo do GM/FS
#define AMARELO 0xFFFF00AA
Reply
#3

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

Posta bem certo aqui a linha 1977!
Reply
#5

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); 
Reply
#6

+rep? kkkk
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)