language system - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: language system (
/showthread.php?tid=551923)
language system -
fahlevy - 21.12.2014
hello guys,
i need help please..
how to remove languages in gamemode??
for example : i have two languages , ENGLISH AND SPANISH . . .i want to remove the spanis language.. how to remove it, help please...
Код:
forward SK(playerid);
public SK(playerid)
{
UnderSK{playerid } = false;
switch(pLang[playerid])
{
case ENGLISH:
{
SendClientMessage(playerid, COLOR_RED, "[NOTICE]: Anti Spawn Kill Protection ended.");
}
case SPANISH:
{
SendClientMessage(playerid, COLOR_RED, "[AVISO]: terminу anti Engendro de muertes Protecciуn.");
}
}
SetPlayerHealth(playerid, 100);
LBarUpdate(playerid);
return 1;
}
Thank you .
Re: language system -
SKAzini - 21.12.2014
Remove all "SPANISH" cases.
Disable whatever sets pLang[playerid] (probably a command or dialog) / make so it only sets English.
Re: language system -
Ahammad - 21.12.2014
Open you Gamemode and get in scripts. Then press to Ctrl + F then type "SPANISH" during would you can see much lines there start to end lines remove it with compile.
Re: language system -
fahlevy - 21.12.2014
Quote:
Originally Posted by SKAzini
Remove all "SPANISH" cases.
Disable whatever sets pLang[playerid] (probably a command or dialog) / make so it only sets English.
|
may you explain with that codes please..

i almost understand but still confused ..
Re: language system -
fahlevy - 21.12.2014
hey, i understand guys

its worked :')
thank you very much

and 1+rep