Raised This Month: $ Target: $400
 0% 

Saving in arrays


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 10-22-2010 , 06:50   Saving in arrays
Reply With Quote #1

Is it possible to save a text message in arrays like:

PHP Code:
new something "" 
then in some commands add something like this:

PHP Code:
something "hi you are an idiot" 
or
PHP Code:
something "hi you are an dumbass" 
then show that in menu:

PHP Code:
formatex(title511"message of the hour:^n\y ^"%s^"^n\w."something
and also: display a message to player:
PHP Code:
client_print(idprint_chat"moth: ^"%s^", something) 
reinert is offline
 



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 10:23.


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