AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to Copy Dynamic Arrays? (https://forums.alliedmods.net/showthread.php?t=162241)

Flipper_SPb 07-16-2011 16:07

How to Copy Dynamic Arrays?
 
With static arrays I can do

PHP Code:

new arr1[3] = {012, -44}
new 
arr2[3]

arr2 arr1 

How to make a copy of dynamic array?

fysiks 07-16-2011 16:13

Re: How to Copy Dynamic Arrays?
 
You probably have to use a loop for each cell.

Flipper_SPb 07-16-2011 17:04

Re: How to Copy Dynamic Arrays?
 
Oh. As i thought.


All times are GMT -4. The time now is 00:52.

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