Mysql string messaging
#1

It's not showing the string message, i set it inside the database. this how it set up
Код:
UPDATE `players` SET `personalmsg` = 'Test Mesasge `players`.`ID` = 1;
Код:
    PlayerInfo[playerid][personalmsg] = cache_get_field_content_int(0, "personalmsg");
Код:
    new string[129];
    format(string, sizeof(string), "Test message: %s %s", Name[playerid], PlayerInfo[playerid][personalmsg]);
    SendClientMessageToAll(COLOUR_WHITE, string);
Reply
#2

Have you never wondered what the _int suffix meant?
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Have you never wondered what the _int suffix meant?
no im not too good of a coder
Reply
#4

If you don't know the difference of an integer and a string, you are not a coder, you are just a clueless copy-paster
seriously READ before you write a question, I'm more than 100% sure you could've found your problem if only you had read BlueG's mysql wiki.
Reply
#5

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
If you don't know the difference of an integer and a string, you are not a coder, you are just a clueless copy-paster
seriously READ before you write a question, I'm more than 100% sure you could've found your problem if only you had read BlueG's mysql wiki.
i said im not too good of a coder....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)