Raised This Month: $ Target: $400
 0% 

Question about the copy function


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Riotblade
Junior Member
Join Date: Mar 2006
Old 08-25-2007 , 18:55   Question about the copy function
Reply With Quote #1

I'm trying to copy a string but also want to be able to pass variables into the string. Example: [copy (buffer,("%s is leading",name))] or something of the like. How would I do this with copy?

Thanks
Riotblade is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 08-25-2007 , 18:58   Re: Question about the copy function
Reply With Quote #2

Try using format or formatex.

http://www.amxmodx.org/funcwiki.php?go=func&id=49
http://www.amxmodx.org/funcwiki.php?go=func&id=1156
hlstriker 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:06.


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