SA-MP Forums Archive
MySQL - Playername.. - 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 - Playername.. (/showthread.php?tid=471472)



MySQL - Playername.. - Desi_Dude - 23.10.2013

Hello, I stuck with this. I would like to know how can i ... not sure how to explain.. suppose i want to show a dialogthplayer withthat name only like , John_Allens - He would see a dialof when he spawns. only he would see it.. How can i make it possible? Still learning MySQL though.

Код:
case LOADPLAYERDATA_THREAD:
		{
			if(IsPlayerConnected(extraid))
			{
   				new szField[MAX_PLAYER_NAME], szResult[64];

				for(new row;row < rows;row++)
				{
					cache_get_field_content(row, "Username", szField, MainPipeline);

					if(strcmp(szField, GetPlayerNameExt(extraid), true) != 0)