Raised This Month: $ Target: $400
 0% 

Character


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-25-2008 , 14:29   Re: Character
Reply With Quote #2

A character is 1 letter, number, or symbol inside apostrophes.

Code:
new string[12]; copy(string, 11, "lolstring"); /* string[0] = 'l' string[1] = 'o' ... each slot of string[] (except the last one) contains a character */ client_print(0, print_chat, "%s - %c%c%c", string, string[0], string[1], string[2]); // Result: "lolstring - lol" //You can also set variables as characters (for whatever reason you may have). new lolstring = 'Q'; client_print(0, print_chat, "%c", lolstring); // Result: "Q"
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 05:29.


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