24.07.2010, 11:06
Hello,
i'm busy making my own gamemode with mysql, i'm new with this. i'm trying to fetch data from a database and than use them ingame
i have this code :
Now i get a good result in numbers but i cant get them in a text like :
but than i get a empty value than.
Please help me with this.
i'm busy making my own gamemode with mysql, i'm new with this. i'm trying to fetch data from a database and than use them ingame
i have this code :
Код:
mysql_get_field("cash", Field); PlayerInfo[playerid][pCash] = strval(Field);
Код:
format(message, 256, "You have $ : %s", PlayerInfo[playerid][pCash]); SendClientMessage(playerid, COLOR_WHITE, message);
Please help me with this.