Raised This Month: $ Target: $400
 0% 

Array and variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 03-23-2006 , 17:06   Array and variables
Reply With Quote #1

This is a definition for time in a banmenu, but i only know Basic so i need som help.

new g_HighBanMenuValues[4] = {5, 60, 6000, 0}

I can see this is an array with 4 values, i would like to convert the values to the following. new g_HighBanMenuValues[4] = {1 Hour,3 Days, 7 Days, Permanent}

My problem is the handling of it, so i need to make those strings as variables and give them a number so when the script runs i takes the number instead of the string......

Hope you understand

/Wolf
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
 



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:38.


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