MySQL Vehicles Help
#1

I have vehicles table with auto increment..
PHP код:
    for(new i=0500i++)
    {
    
LoadVehicle(i); // i = slot
    

It for some reason fucks up my whole server, can't even login, no commands are working.

This is what I have in LoadVehicle:
PHP код:
    format(querysizeof(query), "SELECT * FROM `vehicles` WHERE `id` = %d"slot);
    
mysql_function_query(gHandlequerytrue"OnVehicleLoad""d"slot); 
It makes my server stuck..
Reply
#2

Well dress me up and call me Shirley, it was only because streamer plugin loaded before the mysql plugin
Reply
#3

Ah, my eyes hurt! You mustn't treat an SQL database as a file system.
https://sampforum.blast.hk/showthread.php?tid=366019
Reply
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Ah, my eyes hurt! You mustn't treat an SQL database as a file system.
https://sampforum.blast.hk/showthread.php?tid=366019
I've already realized it, and rewritten it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)