Home   Help Search Login Register  

Author Topic: Math... in OFP  (Read 395 times)

0 Members and 3 Guests are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Math... in OFP
« on: 28 Sep 2003, 22:07:13 »
Ok... So I have this script right. And I want to divide A with B, and the answer will be C.

So I put this in the script:

_A / _B = _C

Ok... Get the unknown operator message. What am I doing wrong?

Cheers!

:beat: *Gets Divided* :beat:

vektorboson

  • Guest
Re:Math... in OFP
« Reply #1 on: 28 Sep 2003, 22:42:52 »
The other way round  ;)

_C = _A / _B

The = is an assignment operator, everything that is on the right side, will be assigned to the variable that stands on the left side.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Math... in OFP
« Reply #2 on: 28 Sep 2003, 22:43:45 »
Cheers Vektorboson!

:beat: *Gets Shot* :beat:

PS: Love yer tutes! :-*