Raised This Month: $ Target: $400
 0% 

List of word and things


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-24-2013 , 19:46   Re: List of word and things
Reply With Quote #1

PHP Code:
new const Words1[][] = 
{
    
"hello",
    
"these",
    
"are",
    
"words"
};

new const 
Words2[][] = 
{
    
"here",
    
"is",
    
"more"
};

server_print"%s %s" Words1randomsizeofWords1 ) ) ] , Words2randomsizeofWords2 ) ) ] ); 
__________________
Bugsy is offline
Old 05-25-2013, 05:07
piepie
This message has been deleted by piepie.
piepie
Member
Join Date: May 2013
Location: Pieland *.*
Old 05-25-2013 , 08:48   Re: List of word and things
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
PHP Code:
new const Words1[][] = 
{
    
"hello",
    
"these",
    
"are",
    
"words"
};

new const 
Words2[][] = 
{
    
"here",
    
"is",
    
"more"
};

server_print"%s %s" Words1randomsizeofWords1 ) ) ] , Words2randomsizeofWords2 ) ) ] ); 
I want like if Word 1 is "hello" it gets the 1st word from words2 that's "here", and so on...
__________________


Last edited by piepie; 05-25-2013 at 08:49.
piepie is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-28-2013 , 00:23   Re: List of word and things
Reply With Quote #4

Quote:
Originally Posted by piepie View Post
I want like if Word 1 is "hello" it gets the 1st word from words2 that's "here", and so on...
Ok, so what do you need help with?
__________________
fysiks is offline
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:17.


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