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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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(playerid, Amarelo, "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
![confused](images/smilies/confused.gif)
, 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(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);
Re: chave de fechamento incomparбvel -
Bruno13 - 24.05.2013
![shocked](images/smilies/eek.png)
+rep? kkkk