Raised This Month: $ Target: $400
 0% 

[HELP] Blanks can only be added after items.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-30-2014 , 15:52   Re: [HELP] Blanks can only be added after items.
Reply With Quote #1

Oh it is based on the amount of letters.
Code:
formatex( szMenu, charsmax( szMenu ), "\r[%s] \yShop Main Menu^n\wYou have \y%i \wcash"
So I will set 64?
Code:
static szMenu[ 64 ]
What is the difference between static to new
Has been explained to me the other day, but for you what is useful for me here on the menu?

Last edited by Fuck For Fun; 06-30-2014 at 15:53.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 07-01-2014 , 06:21   Re: [HELP] Blanks can only be added after items.
Reply With Quote #2

The menu does not care about what your variable is, it just cares about what string is inside it. It doesn't care wether the variable is declared new or static. Static is not needed for this function.
__________________
In Flames we trust!
Nextra 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 21:05.


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