[HELP] undefined symbol "stmt_bind_value"
#1

ERROR CODE:
Код:
C:\Users\ADMİN\Desktop\SERVER\gamemodes\funfunfun.pwn(967) : error 017: undefined symbol "stmt_bind_value"
C:\Users\ADMİN\Desktop\SERVER\gamemodes\funfunfun.pwn(967) : error 029: invalid expression, assumed zero
C:\Users\ADMİN\Desktop\SERVER\gamemodes\funfunfun.pwn(967) : error 017: undefined symbol "TYPE_STRING"
C:\Users\ADMİN\Desktop\SERVER\gamemodes\funfunfun.pwn(967) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.


PAWN:

Код:
stock IsyeriGuncelle(id)
{
	new string[256];

	if(!strcmp(IsyeriBilgi[id][Sahip], "-")) {
	    format(string, sizeof(string), "{CCFB5D}»Satılık İsyeri«\n{0AA1CA}Fiyat: {FFFFFF}%d$\n{C0C0C0}%s", IsyeriBilgi[id][Fiyat], IsyeriInterior[ IsyeriBilgi[id][Tip] ][IntAdi]);
	}else{
		format(string, sizeof(string), "{0AA1CA}»İsyeri«\n\n{FFFFFF}%s\n{0AA1CA}Sahip: {FFFFFF}%s\n%s\n{C0C0C0}%s", IsyeriBilgi[id][Isim], IsyeriBilgi[id][Sahip], IsyeriBilgi[id][Kilit] == 0 ? ("{CCEC75}Aзık") : ("{FE2E2E}Kapalı"), IsyeriInterior[ IsyeriBilgi[id][Tip] ][IntAdi]);
	}

	UpdateDynamic3DTextLabelText(IsyeriBilgi[id][Label], 0x3366FFFF, string);
	stmt_bind_value(IsyeriKaydet, 0, DB::TYPE_STRING, IsyeriBilgi[id][Isim]);
    stmt_bind_value(IsyeriKaydet, 1, DB::TYPE_STRING, IsyeriBilgi[id][Sahip]);
    stmt_bind_value(IsyeriKaydet, 2, DB::TYPE_INTEGER, IsyeriBilgi[id][Fiyat]);
    stmt_bind_value(IsyeriKaydet, 3, DB::TYPE_INTEGER, IsyeriBilgi[id][Kasa]);
    stmt_bind_value(IsyeriKaydet, 4, DB::TYPE_INTEGER, IsyeriBilgi[id][Tip]);
    stmt_bind_value(IsyeriKaydet, 5, DB::TYPE_INTEGER, IsyeriBilgi[id][Kilit]);
    stmt_bind_value(IsyeriKaydet, 6, DB::TYPE_INTEGER, id);
	stmt_execute(IsyeriKaydet);
	return 1;
}
Reply
#2

Update the include <a_samp> I think it's sqlite problem.
Reply
#3

I Had the same problem this morning did you define:
Код:
#define stmt_bind_value 976
#define TYPE_STRING 976
at the top ?
Reply
#4

It is a copy-paste I suppose, otherwise you'd know what include you must use. Search next time, please: https://sampforum.blast.hk/showthread.php?tid=303682

Quote:
Originally Posted by aymane123
Посмотреть сообщение
I Had the same problem this morning did you define:
Код:
#define stmt_bind_value 976
#define TYPE_STRING 976
at the top ?
Don't you see that stmt_bind_value is a function? I've seen previous posts of yours suggesting any undefined symbol with #define patter - this is NOT always the solution. Some of those symbols may be functions, variables and not always constant values.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)