SA-MP Forums Archive
/b help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: /b help (/showthread.php?tid=146873)



/b help - lewisno7 - 09.05.2010

Well i deleted something in /b and when you talk it only shows: (( Benito_Papa )) and no text.

Code:

Код:
{
		  		format(string, sizeof(string), "(( %s ))", sendername, result);
				ProxDetector(20.0, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
				format(string, sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s (Local OOC): %s",d,m,y,h,mi,s, sendername, result);
				ChatLog(string);
			}



Re: /b help - Agent Smith - 09.05.2010

pawn Код:
{
    format(string, sizeof(string), "(( %s %s ))", sendername, result);
    ProxDetector(20.0, playerid, string,COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
    format(string, sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s (Local OOC): %s",d,m,y,h,mi,s, sendername, result);
    ChatLog(string);
}
You were missing out another "%s"


Re: /b help - lewisno7 - 09.05.2010

Silly me

Thanks mate.