String in mysql
#1

Hello, how I can get string in MySQL BlueG R-41 ?
I know, that I can load int, I use cache_get_value_int, but now I want load string.
Reply
#2

Код:
 cache_get_value_name(0, "name_col", string, sizeof(string));
You can also load int values with

Код:
cache_get_value_name_int(0, "name_col", value_var);
Reply
#3

@ref
Welcome again, how I can load string to variable in my enum?
enum Player
{
...
Name
}

I tried:
PHP код:
 cache_get_value_name(0"Name"Player[playerid][Name]); < But don't working 
Reply
#4

32 - Is the bytes for Name which is stored into your 'enum'
Example:

Код:
enum Player
{
...
Name[32]
}
Код:
cache_get_value(0, "Name", Player[playerid][Name], 32);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)