Raised This Month: $ Target: $400
 0% 

Warn System Multi-Lingual menu problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-28-2013 , 06:06   Warn System Multi-Lingual menu problem.
Reply With Quote #1

So... I've tried to make Warn System plugin to multi-lingual and I am having prolems...
So I have this part:
PHP Code:
new const szReasons[][] = {
    
"REASON_1",
    
"REASON_2",
    
"REASON_3",
    
"REASON_4",
    
"REASON_5"
}
/***/
new szTemp[500], Key[10]
for(new 
isizeof(szReasons); i++) 
{
    
formatex(szTempcharsmax(szTemp), "%L"id"%s"szReasons[i])
    
num_to_str(iKeycharsmax(Key))
    
menu_additem(menuszTempKey)
}
/***/
client_print_color(0"%L"0"HAS_WARNED"szName3szName2iWarns[iPlayer], get_pcvar_num(pWarnAmmount), szReasons[szReason[id]]) 
And it doesn't show the reason in the menu and in that message... And I need help figuring out how to fix it. ;)

Full edited plugin:
Spoiler

Last edited by Unkolix; 04-28-2013 at 06:09.
Unkolix 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 10:56.


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