when i add this functions i got error alias does not exists
error line Alias.push( { Nick = GetSQLColumnData( q, 0 ), IP = GetSQLColumnData( q, 1 ), UID = GetSQLColumnData( q, 2 ) } );
i loaded onscriptload LoadAlias();
function LoadAlias()
{
local q = QuerySQL( sqliteDB, "SELECT * FROM Alias" ), i = 0;
while ( GetSQLColumnData( q, 0 ) != null )
{
Alias.push( { Nick = GetSQLColumnData( q, 0 ), IP = GetSQLColumnData( q, 1 ), UID = GetSQLColumnData( q, 2 ) } );
i ++;
GetSQLNextRow( q );
}
FreeSQLQuery( q );
print( "[Loaded] Alias - " + i );
}
Have you created the array your trying to push elements into ?
Put this at the top of your code
Alias <- [];
Thanks rulk i already put it but in medium now on top its works