Trying to be better scripter.
#8

Quote:
Originally Posted by The Toni
Посмотреть сообщение
These symbols (or at least some of them) are related to general math/algebra.
& : This I do not really know yet, but I do know a way you could use it. Example is below.
pawn Код:
if(newkeys & KEY_FIRE)
% : This is used to format a specifier, inside a format.
pawn Код:
%d - Whole Intenger | %s - string | %f - Float | %c - Single Character and more (search wiki)
Hope this helped.
To quate : WTF. Really? Read some topics, i even wrote how & is used with keys.. and what it does... and it was recently.

I can teach some usages of them whenever i have time, PM me, for example, i'm totaly sure that binary shift << is tons of times faster than float multiplication (* in pawno) num<<1 =num*2; num<<2 =num*4 num>>1=num/2 num>>2=num/4; (Rounds down always, as actually just loses the byte);
Reply


Messages In This Thread
Trying to be better scripter. - by GaGlets(R) - 04.09.2010, 22:33
Re: Trying to be better scripter. - by woot - 04.09.2010, 22:39
Re: Trying to be better scripter. - by Thebest96 - 04.09.2010, 23:34
Re: Trying to be better scripter. - by LarzI - 04.09.2010, 23:39
Re: Trying to be better scripter. - by Toni - 05.09.2010, 00:16
Re: Trying to be better scripter. - by GaGlets(R) - 05.09.2010, 01:26
Re: Trying to be better scripter. - by Toni - 05.09.2010, 01:28
Re: Trying to be better scripter. - by RSX - 05.09.2010, 11:34
Re: Trying to be better scripter. - by Toni - 05.09.2010, 15:24
Re: Trying to be better scripter. - by Nero_3D - 05.09.2010, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)