Raised This Month: $ Target: $400
 0% 

Arrays


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarlD
Senior Member
Join Date: Aug 2004
Old 12-19-2005 , 01:30   Arrays
Reply With Quote #1

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?
__________________
DarlD is offline
Send a message via MSN to DarlD
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 12-19-2005 , 01:39  
Reply With Quote #2

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

Here you go..
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
DarlD
Senior Member
Join Date: Aug 2004
Old 12-19-2005 , 01:50  
Reply With Quote #3

jezz thanks..
__________________
DarlD is offline
Send a message via MSN to DarlD
Reply



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 16:09.


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