language system
#1

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 .
Reply
#2

Remove all "SPANISH" cases.

Disable whatever sets pLang[playerid] (probably a command or dialog) / make so it only sets English.
Reply
#3

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.
Reply
#4

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 ..
Reply
#5

hey, i understand guys
its worked :')
thank you very much and 1+rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)