Raised This Month: $51 Target: $400
 12% 

help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
risontek22
Member
Join Date: Mar 2013
Location: localhost
Old 05-30-2013 , 10:54   help
Reply With Quote #1

PHP Code:
    new VIPItem[64],EVIPItem[64]
    
    
formatex(VIPItem,63,"VIP Tags : \y[VIP]\w,\y[V-I-P]\w,\y[VipKo]^R\wAktualne : \y%s^\n\d======================",menu_prefixes[UserPrefix[id]])
    
formatex(EVIPItem,63,"EVIP Tags : \y[Evip]\w,\y[Extra-Vip]\w,\y[Evipko]^R\wAktualne : \y%s",menu_prefixes[UserPrefix[id]]) 
where is the problem ?
risontek22 is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 05-30-2013 , 11:16   Re: help
Reply With Quote #2

PHP Code:
"VIP Tags : \y[VIP]\w,\y[V-I-P]\w,\y[VipKo]^R\wAktualne : \y%s^\n\d======================" 
Thats 88 characters long, and your array size is 64.

PHP Code:
new VIPItem[64

Last edited by EpicMonkey; 05-30-2013 at 11:17.
EpicMonkey is offline
risontek22
Member
Join Date: Mar 2013
Location: localhost
Old 06-01-2013 , 03:36   Re: help
Reply With Quote #3

i tried this but the problem is same :

Error: Invalid character constant on line

PHP Code:
    new VIPItem[200],EVIPItem[200]
    
    
formatex(VIPItem,199,"VIP Tags : \y[VIP]\w,\y[V-I-P]\w,\y[VipKo]^R\wAktualne : \y'^^%s'^n\d======================",menu_prefixes[UserPrefix[id]])
    
formatex(EVIPItem,199,"EVIP Tags : \y[Evip]\w,\y[Extra-Vip]\w,\y[Evipko]^R\wAktualne : \y'^^%s'",menu_prefixes[UserPrefix[id]]) 
risontek22 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 06-01-2013 , 06:01   Re: help
Reply With Quote #4

You seem confused in regards to using special string characters. Show how you would like the text to be displayed.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
risontek22
Member
Join Date: Mar 2013
Location: localhost
Old 06-01-2013 , 06:43   Re: help
Reply With Quote #5

in the menu :
1. VIP Tags : \y[VIP]\w,\y[V-I-P]\w,\y[Vipko]\w Currently : %s (menu_prefixes[UserPrefix[id]])
\d=========================================== ===========
2. EVIP Tags : \y[Evip]\w,\y[Extra-Vip]\w,\y[Evipko]\w Currently : %s (menu_prefixes[UserPrefix[id]])

Last edited by risontek22; 06-01-2013 at 06:43.
risontek22 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-01-2013 , 14:04   Re: help
Reply With Quote #6

If you are using new menu, max item name size is 64.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 22:21.


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