Format character 'p'
#1

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
Reply
#2

mh, there isnt a format character like %p, you need to do
pawn Код:
format(string,sizeof string,"%d|%d|%d",0,1,2);
Reply
#3

Are you sure ?

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)