Array index out of bounds
#2

Change this

pawn Код:
saveCarToDB(playerid,carid)
{
    new query[128];
    format(query, sizeof(query), "INSERT INTO cars (owner,model,x,y,c,r) VALUES ('%i','%i','%f','%f','%f','%f')",iInfo[playerid][id],cInfo[carid][model],iInfo[carid][c_x],iInfo[carid][c_y],iInfo[carid][c_z],iInfo[carid][c_r]);
    mysql_function_query(dbhandel,query,false,"","");
    return 1;
}
to

pawn Код:
saveCarToDB(playerid,carid)
{
    new query[128];
    format(query, sizeof(query), "INSERT INTO cars (owner,model,x,y,c,r) VALUES ('%i','%i','%f','%f','%f','%f')",iInfo[playerid][id],cInfo[carid][model],cInfo[carid][c_x],cInfo[carid][c_y],cInfo[carid][c_z],cInfo[carid][c_r]);
    mysql_function_query(dbhandel,query,false,"","");
    return 1;
}
Off:
What does "kurcina" mean? :P
Reply


Messages In This Thread
Array index out of bounds - by malackovgfx - 12.06.2015, 18:57
Re: Array index out of bounds - by [KHK]Khalid - 12.06.2015, 19:07
Re: Array index out of bounds - by malackovgfx - 12.06.2015, 19:10
Re: Array index out of bounds - by malackovgfx - 12.06.2015, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)