22.01.2010, 15:53
it should work, if you have the right variable at the top.
this way you could use more languages.
pawn Код:
new language[MAX_PLAYERS];
pawn Код:
switch(language[playerid])
case 0:
{
GetPlayerName(playerid, cmdname, sizeof(cmdname));
format(string, sizeof(string), ">>> %s ist bei San fierros puff /sfp <<<", cmdname);
SendClientMessageToAll(0xF17A26FF, string);
}
case 1:
{
GetPlayerName(playerid, cmdname, sizeof(cmdname));
format(string, sizeof(string), ">>> %s is on San fierros puff /sfp <<<", cmdname);
SendClientMessageToAll(0xF17A26FF, string);
}
}

