Inserting '%' into the string
#5

You add the symbol/variable name there. For instance:
pawn Код:
format(string,sizeof(string),"Skin set to %d",skinid);
Don't get put off by the %d, it's just decimal as opposed to string. Maybe I misunderstood.
Reply


Messages In This Thread
Inserting '%' into the string - by dominik523 - 19.11.2013, 18:56
Re: Inserting '%' into the string - by Ayham - 19.11.2013, 18:57
Re: Inserting '%' into the string - by Pottus - 19.11.2013, 18:58
AW: Inserting '%' into the string - by Skimmer - 19.11.2013, 18:58
Re: Inserting '%' into the string - by PrivatioBoni - 19.11.2013, 18:58
Re: Inserting '%' into the string - by dominik523 - 19.11.2013, 19:00
Re: Inserting '%' into the string - by Macluawn - 19.11.2013, 19:01
Re: Inserting '%' into the string - by Konstantinos - 19.11.2013, 19:04
Re: Inserting '%' into the string - by dominik523 - 19.11.2013, 19:04
Re: Inserting '%' into the string - by Pottus - 19.11.2013, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)