Format character 'p' - 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: Format character 'p' (
/showthread.php?tid=93723)
Format character 'p' -
UsaBoy91 - 26.08.2009
pawn Код:
if(!strcmp(cmdtext,"/test",true))
{
format(string,sizeof string,"%p|ddd",0,1,2);
SendClientMessage(playerid,COLOR_LIGHTRED,string);
}
I type /test , and i recive:
p|ddd , and i need to recive
0|1|2
Re: Format character 'p' -
Nero_3D - 26.08.2009
mh, there isnt a format character like %p, you need to do
pawn Код:
format(string,sizeof string,"%d|%d|%d",0,1,2);
Re: Format character 'p' -
UsaBoy91 - 26.08.2009
Are you sure ?