Damn, what's wrong now? Array index...
#9

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
Try using format instead to get around the issue:

pawn Код:
format(Faction1[fFaction1][fLeader],24,"%s",dini_Get(SERVER_FACTION_FILE_1, "Leader"));
No errors or anything but it won't read the information when I need it. This is just an example command I did to test it out. I don't get that SendClientMessage:

pawn Код:
COMMAND:test(playerid, params[])
{
    new msg[50];
    format(msg, 300, "The name of this faction is %s, Skin is: %i", Faction1[fFaction1][fFactionName], Faction1[fFaction1][fSkin4]);
    SendClientMessage(playerid, COLOR_WHITE, msg);
    return 1;
}
Thank you, it works now. Can you explain me what I did wrong there?
Reply


Messages In This Thread
Damn, what's wrong now? Array index... - by Outcast - 10.01.2011, 22:30
Re: Damn, what's wrong now? Array index... - by Rizard - 10.01.2011, 22:50
Re: Damn, what's wrong now? Array index... - by Outcast - 10.01.2011, 23:16
Re: Damn, what's wrong now? Array index... - by Rizard - 10.01.2011, 23:55
Re: Damn, what's wrong now? Array index... - by John_F - 11.01.2011, 00:05
Re: Damn, what's wrong now? Array index... - by Outcast - 11.01.2011, 00:19
Re: Damn, what's wrong now? Array index... - by JaTochNietDan - 11.01.2011, 01:04
Re: Damn, what's wrong now? Array index... - by _rAped - 11.01.2011, 01:58
Re: Damn, what's wrong now? Array index... - by Outcast - 11.01.2011, 05:32
Re: Damn, what's wrong now? Array index... - by Rizard - 11.01.2011, 10:01

Forum Jump:


Users browsing this thread: 5 Guest(s)