Raised This Month: $ Target: $400
 0% 

announcement plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-19-2012 , 09:04   Re: announcement plugin
Reply With Quote #7

Code:
formatex(string, charsmax(string), "String: %a", ArrayGetStringHandle(array, index)) // is the same as ArrayGetString(array, index, arrayString, charsmax(arrayString)) formatex(string, charsmax(string), "String: %s", arrayString)

The difference is that the first doesn't require it to be stored in a variable, which also allows you to save some memory.
It may say do not use, but is perfectly safe if not used incorrectly. It is even used in one of the base AMXX plugins (maybe map chooser or something).
__________________
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 06:11.


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