AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to get dynamic array have how many? (https://forums.alliedmods.net/showthread.php?t=146442)

0920357689 12-28-2010 06:12

how to get dynamic array have how many?
 
public_message = ArrayCreate(128);

msg max size is 128

ArrayPushString ( Array:which, const input[] )
ArrayGetString ( Array:which, item, output[], size )

how to get the "public_message" item size???

Arkshine 12-28-2010 06:14

Re: how to get dynamic array have how many?
 
ArraySize(). It was hard to find..

Next time, check yourself by reading the cellarray.inc file.

0920357689 12-28-2010 06:20

Re: how to get dynamic array have how many?
 
is work...thz


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

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