SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 24/10/2016, 11:46 AM   #1
dicknyson
Banned
 
Join Date: Feb 2016
Location: 𝕪𝕠𝕦𝕥𝕦𝕓𝕖
Posts: 48
Reputation: 5
Default Maths Question

I was just wondering, would

Code:
number *= anothernumber
work instead of
Code:
number = number*anothernumber
in the same way that

Code:
number += anothernumber
can replace
Code:
number = number+anothernumber
?
dicknyson is offline   Reply With Quote
Old 24/10/2016, 12:47 PM   #2
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,750
Reputation: 836
Default Re: Maths Question

Yes both does the same job.
__________________

Follow me on Github: Follow me on Spotify: Donate on Paypal:

Gammix is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Little Maths to pawn question... knackworst Scripting Help 3 21/10/2011 08:51 PM
How to do this tricky maths question? [EDT]AmanSingh123 Everything and Nothing 1 15/10/2011 04:41 PM
Small maths question x-cutter Help Archive 1 07/07/2011 02:03 PM
Maths dcmd_crash Help Archive 3 07/05/2010 10:19 AM
Maths Help! patchkinson Everything and Nothing 6 03/02/2010 02:29 PM


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.