Hab das mal so probiert, nur ich bekomm diesen Error:
C:\Users\Brandon\Desktop\Unbekannt-RP\gamemodes\Unbekannt.pwn(434) : error 033: array must be indexed (variable "Textdraw10")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Und das in dieser Zeile:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(_:clickedid != INVALID_TEXT_DRAW)
{
if(clickedid == Textdraw10)//Error
{
if(GetPVarInt(playerid,"Eingeloggt") == 0)
{
if(mysql_CheckAccount(playerid) == 0)
{
SendClientMessage(playerid, 0xFFFFFFFF,"Willkommen Test Register");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registrieren","Registriere dich bitte Test","Registrieren","Abbrechen");
}
else if(mysql_CheckAccount(playerid) == 1)
{
SendClientMessage(playerid, 0xFFFFFFFF,"Willkommen Test Login");
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Login","Login dich bitte ein Test","Login","Abbrechen");
}
}
}
}
return 1;
}