AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   problem about the ArrayGetString ![SOLVE] (https://forums.alliedmods.net/showthread.php?t=134220)

K.K.Lv 08-02-2010 09:24

problem about the ArrayGetString ![SOLVE]
 
solve thx all !

hleV 08-02-2010 10:37

Re: problem about the ArrayGetString !
 
I believe the problem is in g_current.

You could try using ArraySize() instead of g_num.

K.K.Lv 08-02-2010 10:48

Re: problem about the ArrayGetString !
 
Yes , I have found the problem !!
but I don't know how to fix it !
can you show me more code ?

fysiks 08-02-2010 18:02

Re: problem about the ArrayGetString !
 
PHP Code:

if (g_current g_num

:arrow:

PHP Code:

if (g_current >= g_num

Why do you load the file so much? You should only need to load it once for the whole map.


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

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