Search Results
Thanks for your answers COUNT uses field name as parameter, so if you COUNT(*) you counting by all fields - I think it's a bad habit COUNT(NULL), or COUNT(0) return just empty rows
125
Hello! What is better to use, this: Код: new DBResult:result = db_query(db, "SELECT COUNT(0) FROM players"); new count = db_get_field_int(result); db_free_result(result); or this: Код: new DB...
125
What about threaded queries, how to get data in called callback? Is there built-in parameters?
9,491
Hello Does anyone have a way to check that is field exists in sqlite database? @EDIT Is there faster way? Код: new DBResult:fieldsCheck = db_query(serverDB, "SELECT * FROM `"PREFIX"players` LIMIT...
97
Logs: Код: [20:24:40] [debug] Server crashed while executing truck.amx [20:24:40] [debug] AMX backtrace: [20:24:40] [debug] #0 native CallLocalFunction () [00471ef0] from samp-server.exe [20:24:40...
85
This line: Код: if(PlayerCuffed[giveplayerid] == 1)|| GetPlayerSpecialAction(giveplayerid) == SPECIAL_ACTION_HANDSUP) Change to: Код: if(PlayerCuffed[giveplayerid] == 1 || GetPlayerSpecialActi...
108
You fetching data to "string" which has size of only 300 cells. Try more, like 512 or 1024. If it isn't enough, you can try make two or more queries.
116
Hello! I have a filterscript with this code: Код: //Definitions somewhere upper #define D_SALON 4441 #define D_INFO 4442 //Public OnDialogResponse public OnDialogResponse(play...
85
I need function that checks vehicle model number plate, if vehicle model, like 411 (Infernus) had plate, it returns 1, if that is plane, boat or something other, it returns 0. Sorry for the misunderst...
99
Hello! Can somebody give me function that returns 1 if vehicle has number plate, or 0 if hasn't? I had it long time ago, but now i lost it ;( Thanks
99
Link is dead, page can't be found after "Download" Can somebody reupload this somewhere? @EDIT I found it, new link: https://www.dropbox.com/s/tjmtbwqjg2...lugin_v1_3.zip @DOWN For me solidfiles is...
7,646