[Ajuda] TextDraws Clicavel - 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] TextDraws Clicavel (
/showthread.php?tid=573348)
TextDraws Clicavel -
JuniorTheDM - 06.05.2015
PHP код:
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(308) : warning 213: tag mismatch
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 029: invalid expression, assumed zero
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : warning 215: expression has no effect
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 001: expected token: ";", but found ")"
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Public Dando Erro
PHP код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Tela_Login)
{
SendClientMessage(playerid, 0xFFFFFFAA, "LOL Tu Clicou uuheahu".");
}
return 1;
}
Re: TextDraws Clicavel -
Dayvison_ - 06.05.2015
Afs man, olha teu cуdigo.. ve atй o erro no destaque da sintaxe pra que criar um topico disto?
Re: TextDraws Clicavel -
Krusheer - 06.05.2015
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Tela_Login)
{
SendClientMessage(playerid, 0xFFFFFFAA, "LOL Tu Clicou uuheahu"); //coloca assim
}
return 1;
}
Re: TextDraws Clicavel -
LuisFerreira - 06.05.2015
Cara alterado nгo '-'
Re: TextDraws Clicavel -
GabrielDias_Invision - 06.05.2015
Corrija a public com as informaзхes passadas acima e certifique-se de que a variavel Tela_Login foi definida como TextDraw... Ex:
Код:
new Text:Tela_Login;
Re: TextDraws Clicavel -
Vegassilva - 07.05.2015
Colocar assim o error era que vocк fez assim, "Olб".".
pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
if(playertextid == Tela_Login)
{
SendClientMessage(playerid, -1, "Olб");
}
return 1;
}