Mysql reading string values
#1

Hello everyone,

i'm putting a string like "tammy" into the variable like this:
Код:
cache_get_field_content(i, "owner", cInfo[cache_get_row_int(i, 0, mysql)][carowner], mysql,200);
Onload it works:


As soon i try to read it it will give me the wrong tekst, im trying to display it on the chat like this:
Код:
new vecid = GetNearest_Vehicle(playerid, 1);
new string[100];
format(string,sizeof(string),"%s",cInfo[vecid][carowner]);
SendClientMessage(playerid,YELLOW,string);


Hopefully someone can help me.
(Teamviewer is possible)

Thnx,
Tom
Reply
#2

Someone can help me ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)