Raised This Month: $ Target: $400
 0% 

Solved Max Z Stock


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-13-2018 , 17:52   Re: Max Z Stock
Reply With Quote #8

Quote:
Originally Posted by Ghosted View Post
Not loop just use 0,1,2 or use xs. You can't assign Vector to Vector cause theres no = operator, but they are same (VecA = VecB & VecA[0] = VecB[0]...)
Do you even read what I write or you just post unknowingly? I basically just stated that I'm aware you can't assign values as in C++ here in Pawn and that we need to go through both of the arrays dimensions at the same time and assign values.

PHP Code:
public MyFunction( )
{
    new 
aArray], bArray];
    
MixArraysaArraybArray );
}

MixArraysaArray[ ], bArray[ ] )
{
    for( new 
i3i++ )
    {
        
aArray] = bArray];
    }

__________________

Last edited by edon1337; 07-13-2018 at 17:57.
edon1337 is offline
 



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

Forum Jump


All times are GMT -4. The time now is 17:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode