DOF2 and NewLine - Help me Please
#3

Quote:
Originally Posted by mkmk
View Post
For the second one, maybe you're looking for something along the lines of this?

pawn Code:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, -1, "Hello world\nWelcome to my server!");
}
rep if I helped please - reason I'm asking is because I need 15 reps to ad my server.
But friend ...
I want to pull this message from the file, cause my Gamemode have 3 languages.

Exemple: Message to all players about any player entered in the server:

Code:
//OnPlayerConnect
format(string, sizeof(string), DOF2_GetString(LANG1, "WELCOME_ENTERED_ON_SERVER"), pnome(playerid), playerid, hora, minu, seg);
In the file en-us.lang
Code:
WELCOME_ENTERED_ON_SERVER = [SERVER] {00FF00}%s{C0C0C0} [{00FF00}%d{C0C0C0}] entered the server {00FF00}[%02d:%02d:%02d]
In the file pt-br.lang
Code:
WELCOME_ENTERED_ON_SERVER = [SERVER] {00FF00}%s{C0C0C0} [{00FF00}%d{C0C0C0}] entrou no servidor {00FF00}[%02d:%02d:%02d]
Reply


Messages In This Thread
DOF2 and NewLine - Help me Please - by [XPG]MarlonCS - 26.10.2014, 19:46
Re: DOF2 and NewLine - Help me Please - by mkmk - 26.10.2014, 19:57
Re: DOF2 and NewLine - Help me Please - by [XPG]MarlonCS - 26.10.2014, 20:13
Re: DOF2 and NewLine - Help me Please - by [XPG]MarlonCS - 26.10.2014, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)