Array too small or w/e :P
#4

Quote:
Originally Posted by ikey07
Посмотреть сообщение
Replace
Код:
ftext = FactionInfo[2][FactionName];
to
Код:
strmid(ftext,FactionInfo[2][FactionName],0,strlen(FactionInfo[2][FactionName]),256);
OR

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]);
Thanks !
Reply


Messages In This Thread
Array too small or w/e :P - by JordanDoughty - 30.06.2014, 08:58
Re: Array too small or w/e :P - by BroZeus - 30.06.2014, 09:15
Re: Array too small or w/e :P - by ikey07 - 30.06.2014, 09:16
Re: Array too small or w/e :P - by JordanDoughty - 30.06.2014, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)