24.04.2018, 16:19
Make a variable for both languages.
Is nice to play on a server where you can talk with a different language.
PHP код:
public OnPlayerConnect(playerid)
{
if(P_Data[playerid][Language] == 1)
{
SendClientMessage(playerid, 69, "Bine ai venit. Distractie placuta!");
}
else if(P_Data[playerid][Language] == 2)
{
SendClientMessage(playerid, 69, "Welcome. Have fun!");
}
return 1;
}