AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Arrays (https://forums.alliedmods.net/showthread.php?t=22116)

DarlD 12-19-2005 01:30

Arrays
 
I'm trying to get my plugin to change the array number.

Code:
#define MAXFRENQUENCY "20" new frequency[MAXFREQUENCY]

i've got my array size.
I'm trying to check what the player had as a number.
Code:
public freq_up(id) {     new i     get_array( i, frequency, MAXFREQUENCY)     for ( i < 0; i == frequency[MAXFREQUENCY]; i++)

now i looked up a couple of other plugins and im not too sure what the i++ does but i believe that this will check the array number right?

teame06 12-19-2005 01:39

http://www.amxmodx.org/doc/source/sc...imer.htm#loops

Here you go..

DarlD 12-19-2005 01:50

jezz thanks..


All times are GMT -4. The time now is 16:09.

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