Help with making a faction
#2

First of all, this makes more sense:

pawn Код:
GetPlayerName(leaderid, FactionSFPD[playerid][fLeader], 30)
dini_IntSet(SERVER_FACTION_SFPD_FILE, "Leaderl",FactionSFPD[playerid][fLeader]);
Which means there's no need for that wasteful allocation of memory that is new getname[30];

Next, are you sure you're defining fLeader as an array? Lets see the enum where you create it.
Reply


Messages In This Thread
Help with making a faction - command won't work - by Outcast - 09.01.2011, 13:51
Re: Help with making a faction - by JaTochNietDan - 09.01.2011, 14:47
Re: Help with making a faction - by Outcast - 09.01.2011, 14:50
Re: Help with making a faction - by JaTochNietDan - 09.01.2011, 14:54
Re: Help with making a faction - by Outcast - 09.01.2011, 14:58
Re: Help with making a faction - by JaTochNietDan - 09.01.2011, 14:59
Re: Help with making a faction - by Outcast - 09.01.2011, 15:47
Re: Help with making a faction - by blackwave - 09.01.2011, 15:50
Re: Help with making a faction - by Outcast - 09.01.2011, 15:51
Re: Help with making a faction - by Calgon - 09.01.2011, 15:57

Forum Jump:


Users browsing this thread: 2 Guest(s)