[Ajuda] TextDraws Clicavel
#1

PHP код:
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(308) : warning 213tag mismatch
C
:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 029invalid expressionassumed zero
C
:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : warning 215expression has no effect
C
:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : error 001expected token";"but found ")"
C:\Users\Usuario\Desktop\Servidor ' Testes '\gamemodes\GM.pwn(310) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Public Dando Erro
PHP код:
public OnPlayerClickPlayerTextDraw(playeridPlayerText:playertextid)
{
    if(
playertextid == Tela_Login)
    {
         
SendClientMessage(playerid0xFFFFFFAA"LOL Tu Clicou uuheahu".");
    }
    return 1;

Reply
#2

Afs man, olha teu cуdigo.. ve atй o erro no destaque da sintaxe pra que criar um topico disto?
Reply
#3

pawn Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
    if(playertextid == Tela_Login)
    {
         SendClientMessage(playerid, 0xFFFFFFAA, "LOL Tu Clicou uuheahu"); //coloca assim
    }
    return 1;
}
Reply
#4

Cara alterado nгo '-'
Reply
#5

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

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)