Question sizeof
#1

What is the difference between the formating:

pawn Код:
new string[50];
format(string,sizeof(string),"%s...",...);
In this example i'm using sizeof function but i know string size

and in this:

pawn Код:
new string[50];
format(string,50,"%s...",...);
Does it have an impact on the server if i know string size but i using sizeof in formating.
Reply


Messages In This Thread
Question sizeof - by Raimis_R - 28.04.2011, 10:00
Re: Question sizeof - by Lorenc_ - 28.04.2011, 10:03
Re: Question sizeof - by aircombat - 28.04.2011, 10:22
Re: Question sizeof - by MadeMan - 28.04.2011, 10:24
Re: Question sizeof - by Blantas - 28.04.2011, 10:24
Re: Question sizeof - by aircombat - 28.04.2011, 10:27
Re: Question sizeof - by MadeMan - 28.04.2011, 10:30
Re: Question sizeof - by Blantas - 28.04.2011, 10:36
Re: Question sizeof - by MadeMan - 28.04.2011, 10:39
Re: Question sizeof - by xRyder - 28.04.2011, 11:24

Forum Jump:


Users browsing this thread: 1 Guest(s)