SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 02/05/2014, 08:46 AM   #1
AiRaLoKa
Huge Clucker
 
AiRaLoKa's Avatar
 
Join Date: Aug 2013
Location: Indonesia! Nickname: [MP]AiRa_
Posts: 400
Reputation: 27
Cool Multi Language

Multi Language R1

Hi All...
It's just a simple include, but, it's very usefull. It's allow you to send the player a message with different language. It's very usefull include for a international server.

Examples:
  • Example filterscript is included in the .zip file

Function:
  • SendClientMessageLang(playerid, languageid, color, message);
  • SendClientMessageToAllLang(languageid, color, message);
  • ShowPlayerDialogLang(playerid, languageid, dialogid, style, caption, info, button1, button2);
  • GameTextForPlayerLang(playerid, languageid, text, time, style);
  • GameTextForAllLang(languageid, text, time, style);

Bugs:

Nothing found, if you find it, please reply.

Credits:
  • AiRaLoKa for the whole script

Screenshot:





Download:

Thank's for reading!
__________________
sorry for my fucking bad english... becouse i'm Indonesian!
~~> Find all threads started by AiRaLoKa <~~

AiRaLoKa is offline   Reply With Quote
Old 02/05/2014, 08:55 AM   #2
iRaiDeN
Huge Clucker
 
iRaiDeN's Avatar
 
Join Date: Mar 2014
Location: Israel
Posts: 480
Reputation: 41
Default Re: Multi Language

Nice!
iRaiDeN is offline   Reply With Quote
Old 02/05/2014, 08:58 AM   #3
AiRaLoKa
Huge Clucker
 
AiRaLoKa's Avatar
 
Join Date: Aug 2013
Location: Indonesia! Nickname: [MP]AiRa_
Posts: 400
Reputation: 27
Default Re: Multi Language

thanks iRaiDeN
__________________
sorry for my fucking bad english... becouse i'm Indonesian!
~~> Find all threads started by AiRaLoKa <~~

AiRaLoKa is offline   Reply With Quote
Old 02/05/2014, 09:10 AM   #4
Mriss
Gangsta
 
Join Date: Jan 2014
Location: Notepad ++
Posts: 508
Reputation: 43
Default Re: Multi Language

very good, rep
Mriss is offline   Reply With Quote
Old 02/05/2014, 01:34 PM   #5
Ada32
Huge Clucker
 
Ada32's Avatar
 
Join Date: Apr 2013
Posts: 293
Reputation: 62
Default Re: Multi Language

no not good. this is not how you write multi-language support for modes. http://forum.sa-mp.com/showthread.php?t=295580
Ada32 is offline   Reply With Quote
Old 03/05/2014, 02:06 AM   #6
AiRaLoKa
Huge Clucker
 
AiRaLoKa's Avatar
 
Join Date: Aug 2013
Location: Indonesia! Nickname: [MP]AiRa_
Posts: 400
Reputation: 27
Default Re: Multi Language

Quote:
Originally Posted by Mriss View Post
very good, rep
thanks....

Quote:
Originally Posted by Ada32 View Post
no not good. this is not how you write multi-language support for modes. http://forum.sa-mp.com/showthread.php?t=295580
did you read my thread,
it's writen simple
__________________
sorry for my fucking bad english... becouse i'm Indonesian!
~~> Find all threads started by AiRaLoKa <~~

AiRaLoKa is offline   Reply With Quote
Old 03/05/2014, 03:38 PM   #7
Excel™
Gangsta
 
Excel™'s Avatar
 
Join Date: Jul 2012
Posts: 548
Reputation: 95
Default Re: Multi Language

Reading your thread i thought i would translate but Wtf!
Your topic name "Multi Language" is not correct, i think you must rename it to "Language functions" or something. This doesen't even translate, showdialog or send messages functions are just using Variables and nothing else.
__________________
NO MORE CODING SAMP :V
JUST PLAYING...
Excel™ is offline   Reply With Quote
Old 04/05/2014, 02:21 AM   #8
AiRaLoKa
Huge Clucker
 
AiRaLoKa's Avatar
 
Join Date: Aug 2013
Location: Indonesia! Nickname: [MP]AiRa_
Posts: 400
Reputation: 27
Default Re: Multi Language

Quote:
Originally Posted by Excel™ View Post
Reading your thread i thought i would translate but Wtf!
Your topic name "Multi Language" is not correct, i think you must rename it to "Language functions" or something. This doesen't even translate, showdialog or send messages functions are just using Variables and nothing else.
ok...
but thank's for your feedback
__________________
sorry for my fucking bad english... becouse i'm Indonesian!
~~> Find all threads started by AiRaLoKa <~~

AiRaLoKa is offline   Reply With Quote
Old 08/12/2015, 01:33 PM   #9
F1N4L
High-roller
 
F1N4L's Avatar
 
Join Date: Jun 2013
Posts: 2,726
Reputation: 260
Default Re: Multi Language

Accepts text formatting or string ?
ex:

Quote:
SendLanguageText(playerid,-1, "lang 1 %s[%i]","lang 2 %s[%i]", PlayerName(playerid),(playerid)) ;
F1N4L is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-Language with XML files balintant Help Archive 0 23/04/2011 07:24 AM
Multi Language Curti$ Help Archive 5 19/01/2011 07:36 PM
XML multi language armyoftwo Help Archive 0 26/12/2010 12:33 PM
Best multi-language inc? [Ha]Lommo Help Archive 1 13/09/2010 03:28 PM
Multi-language Dialog admine Help Archive 2 29/07/2010 09:06 PM


All times are GMT. The time now is 06:22 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.