AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Question about the copy function (https://forums.alliedmods.net/showthread.php?t=60040)

Riotblade 08-25-2007 18:55

Question about the copy function
 
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

hlstriker 08-25-2007 18:58

Re: Question about the copy function
 
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


All times are GMT -4. The time now is 16:06.

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