error 035: argument type mismatch (argument 1)
format(var,100,"UPDATE `vehicles` SET `CarID`='%d' WHERE `CarID`='%d'",vInfo[vehicleid][vCariD],vInfo[vehicleid][vCariD]);
mysql_query(var);//this line.
(output[], len, const format[], {Float,_}:...)
format(var,100,"UPDATE `vehicles` SET `CarID`='%d' WHERE `CarID`='%d'",vInfo[vehicleid][vCariD],vInfo[vehicleid][vCariD]);
var = output
100 = len
UPDATE = format
and all the rest
native mysql_query(conhandle, query[]);
new var[100];
format(var, sizeof(var), "UPDATE `vehicles` SET `CarID`='%d' WHERE `CarID`='%d'", vInfo[vehicleid][vCariD], vInfo[vehicleid][vCariD]);
mysql_query(dbHandle, var); // Your connection handle variable will come here.
[12:37:54] [debug] AMX backtrace:
[12:37:54] [debug] #0 native mysql_fetch_field_row () [012165e0] from mysql.DLL
[12:37:54] [debug] #1 00281740 in ?? () from IMGRP.amx
[12:37:54] [debug] #2 000c0090 in public Audio_OnGameModeInit () from IMGRP.amx
[12:37:54] [debug] #3 native CallLocalFunction () [00471ef0] from samp-server.exe
[12:37:54] [debug] #4 000135c8 in ?? () from IMGRP.amx
[12:37:54] [debug] #5 0000d770 in public ab_OnGameModeInit () from IMGRP.amx
[12:37:54] [debug] #6 native CallLocalFunction () [00471ef0] from samp-server.exe
[12:37:54] [debug] #7 0000c1cc in public OnGameModeInit () from IMGRP.amx
[12:37:54] [debug] System backtrace:
[12:37:55] [debug] #0 012190b4 in ?? () from plugins\mysql.DLL
[12:37:55] [debug] #1 012166b3 in ?? () from plugins\mysql.DLL
[12:37:55] [debug] #2 004010b6 in ?? () from samp-server.exe
[12:37:55] [debug] #3 705539e2 in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #4 70555e26 in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #5 7054bf3f in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #6 70553a0e in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #7 004721fe in ?? () from samp-server.exe
[12:37:55] [debug] #8 004010b6 in ?? () from samp-server.exe
[12:37:55] [debug] #9 705539e2 in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #10 70555e26 in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #11 7054bf3f in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #12 70553a0e in ?? () from plugins\crashdetect.DLL
[12:37:55] [debug] #13 004721fe in ?? () from samp-server.exe
[12:37:55] [debug] #14 004010b6 in ?? () from samp-server.exe
[12:37:55] [debug] #15 705539e2 in ?? () from \plugins\crashdetect.DLL
[12:37:55] [debug] #16 70555e26 in ?? () from \plugins\crashdetect.DLL
[12:37:55] [debug] #17 7054bf3f in ?? () from \plugins\crashdetect.DLL
[12:37:55] [debug] #18 70553a0e in ?? () from \plugins\crashdetect.DLL
[12:37:55] [debug] #19 0046e1f4 in ?? () from \samp-server.exe
[12:37:55] [debug] #20 65646f6d in ?? () from \samp-server.exe
[12:37:55] [debug] #21 6d692f73 in ?? () from \samp-server.exe
[12:37:55] [debug] #22 2e707267 in ?? () from samp-server.exe
[12:37:55] [debug] #23 00786d61 in ?? ()
Downgrading is not a good thing. Compile with -d3 flag to get line which causes the crash
|
1st - Open your pawno folder.
2nd - Open Notepad++ or notepad, and save the file as pawn.cfg
3rd - Open that file and add -d3
4th - Save it and compile, then test your gamemode and show us the error