Multi-Language Dialog Problem
#1

Hello. I have a problem.
This is my command for teleport:
Код:
if (strcmp(cmdtext, "/dust", true) == 0)
	{
		if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
		{
			SetVehiclePos(GetPlayerVehicleID(playerid), -314.7742, 1515.2451, 75.0225);
			SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.4131);
			SendClientMessage(playerid, COLOR_GREEN,"Witaj na Dust.");
		}
		else
		{
			SetPlayerPos(playerid, -314.7742, 1515.2451, 75.0225);
			SetPlayerFacingAngle(playerid, 0.4131);
			SendClientMessage(playerid, COLOR_GREEN,"Witaj na Dust.");
		}
		SetCameraBehindPlayer(playerid);
		return 1;
	}
How can i make it works with 2 Languages? and using this:
Код:
if(Polish[playerid] == 1)
if(English[playerid] == 1)
And this is in Polish:
Код:
SendClientMessage(playerid, COLOR_GREEN,"Witaj na Dust.");
English:
Код:
SendClientMessage(playerid, COLOR_GREEN,"Welcome on Dust.");
How can you make it? I already have a script just would like to know how to do teleport.
Reply


Messages In This Thread
Multi-Language Dialog Problem - by XxerykxX - 31.05.2010, 21:32
Re: Multi-Language Dialog Problem - by Jefff - 31.05.2010, 21:39
Re: Multi-Language Dialog Problem - by XxerykxX - 31.05.2010, 21:50
Re: Multi-Language Dialog Problem - by Jefff - 01.06.2010, 01:06
Re: Multi-Language Dialog Problem - by XxerykxX - 01.06.2010, 17:05
Re: Multi-Language Dialog Problem - by Jefff - 01.06.2010, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)