30.06.2014, 09:16
Replace
to
OR
Replace your code with this:
Код:
ftext = FactionInfo[2][FactionName];
Код:
strmid(ftext,FactionInfo[2][FactionName],0,strlen(FactionInfo[2][FactionName]),256);
Replace your code with this:
pawn Код:
new faction = PlayerInfo[FactionOffer[playerid]][pLeader];
format(string, sizeof(string), "* You have accepted %s's request to join the %s, you are now a Member of it.", giveplayer, FactionInfo[faction][FactionName]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
//format(ftext,sizeof(ftext),"* %s has accepted your request and is now a Member of the %s.", sendername, GetPlayerFactionName(giveplayer));
format(string, sizeof(string), "* %s has accepted your request and is now a Member of the %s.", sendername, FactionInfo[faction][FactionName]);
SendClientMessage(FactionOffer[playerid], COLOR_LIGHTBLUE, FactionInfo[faction][FactionName]);