Faction .ini's not saving properly.
#2

It seems like you just need to use an integer instead of the u specifier (which stands for username).

pawn Код:
new fid;
    new string[128];
    if(sscanf(params, "d", fid)) return SendClientMessage(playerid, -1, "USAGE: /createfaction [Faction-Slot]");
Also remove the strval function calls elsewhere like so:
pawn Код:
if(fid <= 0 || fid >= 16) return SendClientMessage(playerid, -1, "Invalid Faction ID. ( 1-15 )");
Reply


Messages In This Thread
Faction .ini's not saving properly. - by cuzido - 23.02.2016, 21:22
Re: Faction .ini's not saving properly. - by EiresJason - 23.02.2016, 21:34
Re: Faction .ini's not saving properly. - by cuzido - 23.02.2016, 21:47

Forum Jump:


Users browsing this thread: 3 Guest(s)