Does anyone know what's da problem here?
function LoadPickups()
{
local q = QuerySQL( db, "SELECT Pos FROM Properties WHERE rowid LIKE '%'" );
while ( GetSQLColumnData( q, 0 ) )
{
local SplitPos = split( GetSQLColumnData( q, 0 ), " " );
local x = SplitPos[ 0 ], y = SplitPos[ 1 ], z = SplitPos[ 2 ];
CreatePickup( 407, Vector( x.tofloat(), y.tofloat(), z.tofloat() ) );
q = GetSQLNextRow( q );
}
}
(Sorry, the main scripter went on vacation. I was going to do the 'boring' and 'simple' part, but I cannot even start a decent server... I'd really appreciate any help. When I add an ; after GetSQLColumnData , I lagg like hell, there is no problem, but ppl cannot join this time. I have an old PC, may that be the cause?)