SA-MP Forums Archive
can't load mysql data - 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: can't load mysql data (/showthread.php?tid=476575)



can't load mysql data - moof2010 - 19.11.2013

Ican't load money from mysql.
I used this
Код:
if(numrows == 1)//Daca este corecta parola stocam informatii
		            {
		            new username[24];
		            new baniuser[24];
		            mysql_fetch_field(1, username);
		            mysql_fetch_field(3, baniuser);
		            new userbani = strval(baniuser);
		            GivePlayerMoney(playerid, userbani);
		            SetSpawnInfo(playerid, 0, 0,1017.1094,-1345.6660,13.2545, 269.15, 0, 0, 0, 0, 0, 0);
 					SpawnPlayer(playerid);
					}