format + float + Linux = Ё%*@#(!*Ё!@
#4

Quote:
Originally Posted by ғαιιοцт
Посмотреть сообщение
Are you sure that Objective can never become 0?

And can you show me where you create the variable Result please?
First line of the my post, I tried it in a round that I killed 3 players without die, so...

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Try this:
pawn Код:
format(str[1], 128, "~n~Victims -- (Hits percent: %.1f):", Result);
The problem can't be there, I used "sizeof str[]" instead of "sizeof str" because the array is bi-dimensional.

Here is the declaration:

pawn Код:
new str[2][(sizeof substr) * (PER_ROUND_ATTACKERS)];
Reply


Messages In This Thread
format + float + Linux = Ё%*@#(!*Ё!@ - by CyNiC - 05.02.2012, 12:05
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by ғαιιοцт - 05.02.2012, 12:17
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by FireCat - 05.02.2012, 12:30
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by CyNiC - 05.02.2012, 12:39
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by ғαιιοцт - 05.02.2012, 13:24
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by T0pAz - 05.02.2012, 13:35
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by CyNiC - 05.02.2012, 13:55
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by Kar - 05.02.2012, 14:23
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by T0pAz - 05.02.2012, 14:25
Re: format + float + Linux = Ё%*@#(!*Ё!@ - by CyNiC - 05.02.2012, 14:59

Forum Jump:


Users browsing this thread: 2 Guest(s)