Get Data from MySQL in pawn for #define
#8

Quote:
Originally Posted by GospodinX
Посмотреть сообщение
It's ok for 5 messages,but what if I want to store all possibility messages...I don't think that it's good idea..I know for it,it's reason why I'm ask is possible to get and store it in #define..(That pawno before compile get data from mysql database,for example..I don't know is it possible with other programs or...)
Since dynamics arrays doesn't exist in pawn, you have to define a limit by yourself. After that, it depends on how you store your messages on your database. I recommend you to use data normalization, there is a great tutorial which use that "technique" for weapons : https://sampforum.blast.hk/showthread.php?tid=505081
Reply


Messages In This Thread
Get Data from MySQL in pawn for #define - by GospodinX - 09.05.2018, 19:47
Re: Get Data from MySQL in pawn for #define - by Gammix - 09.05.2018, 20:05
Re: Get Data from MySQL in pawn for #define - by GospodinX - 09.05.2018, 21:08
Re: Get Data from MySQL in pawn for #define - by Banditul18 - 09.05.2018, 21:42
Re: Get Data from MySQL in pawn for #define - by AmigaBlizzard - 09.05.2018, 21:52
Re: Get Data from MySQL in pawn for #define - by GTLS - 10.05.2018, 04:49
Re: Get Data from MySQL in pawn for #define - by GospodinX - 10.05.2018, 08:39
Re: Get Data from MySQL in pawn for #define - by Dayrion - 10.05.2018, 08:58
Re: Get Data from MySQL in pawn for #define - by Sew_Sumi - 10.05.2018, 09:42

Forum Jump:


Users browsing this thread: 1 Guest(s)