Show query results on dialog
#4

Quote:
Originally Posted by JordanZaundd
Посмотреть сообщение
PHP код:
    format(string,sizeof(string), "**Bike ID: %i - MODEL ID: %i\n"CarInfo[i][cID], CarInfo[i][cModel]);
    
strcat(stringtmpstrsizeof(string)); // This adds the new line to your dialog. 
You're formating string and stracting the text of tmpstr into string while tmpstr is empty, you've to format tmpstr and strcat it into string:

PHP код:
    format(tmpstr,sizeof(tmpstr), "**Bike ID: %i - MODEL ID: %i\n"CarInfo[i][cID], CarInfo[i][cModel]);
    
strcat(stringtmpstrsizeof(string)); // This adds the new line to your dialog. 
other bug/mistake already mentioned by Konstantinos.
Reply


Messages In This Thread
Show query results on dialog - by mailu - 10.09.2016, 03:13
Re: Show query results on dialog - by JordanZaundd - 10.09.2016, 03:25
Re: Show query results on dialog - by Konstantinos - 10.09.2016, 09:12
Re: Show query results on dialog - by jlalt - 10.09.2016, 09:17

Forum Jump:


Users browsing this thread: 2 Guest(s)