SA-MP Forums Archive
language add on server dialogue? - 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 add on server dialogue? (/showthread.php?tid=653167)



language add on server dialogue? - Trucksamp - 27.04.2018

how to add language to the server in the form of dialog in the form of dialog in the fastest way how to make pwn 672.75 lines too long how to do it faster

sample: SendClientMessage(playerid, 0xFFFFFFFF, "{3498DB}/ev {FFFFFF}yazarak ev menьsьnь aзabilirsiniz..","DIALOG_LANG);

Код:
stock SendToHouse(playerid, id)
{
    if(!Iter_Contains(Houses, id)) return 0;
    SetPVarInt(playerid, "HousePickupCooldown", gettime() + HOUSE_COOLDOWN);
    InHouse[playerid] = id;
	SetPlayerVirtualWorld(playerid, id);
 	SetPlayerInterior(playerid, HouseInteriors[ HouseData[id][Interiors] ][intID]);
  	SetPlayerPos(playerid, HouseInteriors[ HouseData[id][Interiors] ][intX], HouseInteriors[ HouseData[id][Interiors] ][intY], HouseInteriors[ HouseData[id][Interiors] ][intZ]);

	new string[128];
	format(string, sizeof(string), "%s'in evine hoş geldiniz, %s{FFFFFF}!","%s'Welcome Home, %s{FFFFFF}!", HouseData[id][Owner], HouseData[id][HOName]);
	kmesaj(playerid, 0xFFFFFFFF, string);

	if(!strcmp(HouseData[id][Owner], GetName(playerid)))
	{
		HouseData[id][LastEntered] = gettime();
		HouseData[id][Save] = true;
		SendClientMessage(playerid, 0xFFFFFFFF, "{3498DB}/ev {FFFFFF}yazarak ev menьsьnь aзabilirsiniz..","{3498DB}/ev {FFFFFF}you can open home menu by typing");
	}



Re: language add on server dialogue? - Dutheil - 28.04.2018

I don't understand what you want to do, please argumente with details.