SAMP-SERVER closes
#7

Quote:
Originally Posted by Jaua10
View Post
i JUST NEED TO REEMPLACE MI CODE WITH THIS?
No, seperate this into two format's.

format(string, sizeof(string), "Report from %s (ID: %d) has reported %s (ID: %d)", sender, playerid, receiver, id);

and

format(string, sizeof(string), "Reporte de %s (ID: %d) a reportado a %s (ID: %d)", sender, playerid, receiver, id);

ofc, you have to check which language user uses, or use y_languages as Y_Less said

if( plang[ playerid ] == ENG ) format(string, sizeof(string), "Report from %s (ID: %d) has reported %s (ID: %d)", sender, playerid, receiver, id);
else format(string, sizeof(string), "Reporte de %s (ID: %d) a reportado a %s (ID: %d)", sender, playerid, receiver, id);

OR

Code:
new stringEN[ 150 ], stringDE[ 150 ];
format(stringEN, sizeof(stringEN), "Report from %s (ID: %d) has reported %s (ID: %d)", sender, playerid, receiver, id);
format(stringDE, sizeof(stringDE), "Reporte de %s (ID: %d) a reportado a %s (ID: %d)", sender, playerid, receiver, id);
Reply


Messages In This Thread
SAMP-SERVER closes - by Jaua10 - 21.01.2019, 12:47
Re: SAMP-SERVER closes - by Jaua10 - 21.01.2019, 12:50
Re: SAMP-SERVER closes - by Jaua10 - 21.01.2019, 13:27
Re: SAMP-SERVER closes - by Spoookymon - 21.01.2019, 13:34
Re: SAMP-SERVER closes - by Spoookymon - 21.01.2019, 13:41
Re: SAMP-SERVER closes - by Jaua10 - 21.01.2019, 13:50
Re: SAMP-SERVER closes - by Spoookymon - 21.01.2019, 13:56
Re: SAMP-SERVER closes - by Jaua10 - 21.01.2019, 14:22
Re: SAMP-SERVER closes - by Jaua10 - 23.01.2019, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)