Unknown Command
#7

Quote:
Originally Posted by AnnaSB
Посмотреть сообщение
pawn Код:
fInfo[Total_Factions_Created][Name] = factionname;
turn this line into:
pawn Код:
format(fInfo[Total_Factions_Created][Name], 32, factionname);
You cannot directly set an string to an string var in C/C++/PAWN, you should use COPY functions like strcat or format for them, they deal with array characters, not with the string at once.

Hope I helped ^^
Thanks, however in game it's still saying "Unknown Command".
Reply


Messages In This Thread
Unknown Command - by Joshayersm - 13.10.2014, 06:07
Re: Unknown Command - by YanLanger - 13.10.2014, 06:31
Re: Unknown Command - by Joshayersm - 13.10.2014, 06:36
Re: Unknown Command - by YanLanger - 13.10.2014, 06:36
Re: Unknown Command - by Joshayersm - 13.10.2014, 06:47
Re: Unknown Command - by AnnaSB - 13.10.2014, 07:47
Re: Unknown Command - by Joshayersm - 13.10.2014, 08:18
Re: Unknown Command - by Joshayersm - 13.10.2014, 08:35
Re: Unknown Command - by AnnaSB - 13.10.2014, 08:36
Re: Unknown Command - by Joshayersm - 13.10.2014, 08:40

Forum Jump:


Users browsing this thread: 1 Guest(s)