MySQL - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL (
/showthread.php?tid=598588)
MySQL -
Ugaustin - 14.01.2016
fixedd
Re: MySQL -
Eth - 14.01.2016
Explain more please and show me the thing you have tried before.
Re: MySQL -
CodeStyle175 - 14.01.2016
Very hard problem is over here, we need some e(x)perts.
Re: MySQL -
Eth - 14.01.2016
Quote:
Originally Posted by CodeStyle175
Very hard problem is over here, we need some e(x)perts.
|
Can you guys explain what you want to do? I don't understand.
Re: MySQL -
CodeStyle175 - 14.01.2016
2 kind data types are strings and intergers. When you save Canada, you need to use string, because it consist letters.
Re: MySQL -
Eth - 14.01.2016
then why don't he do like:
pawn Код:
//if the returned data from mysql is 1 in case of city:
if(City == 1)
{
format(CityString,sizeof(CityString),"Canada");
}
manually convert an int to string.
Re: MySQL -
Ugaustin - 18.01.2016
edfix
Re: MySQL -
Ugaustin - 18.01.2016
fixed!