convert dini to y_Ini
#5

pawn Код:
(2072) : error 035: argument type mismatch (argument 1)
(2073) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
pawn Код:
COMMAND:joinmessage(playerid, params[])
{
    new string[128], file[128], pName[MAX_PLAYER_NAME];
    if(isnull(params)) return SendClientMessage(playerid, COLOUR_RED, "USAGE: {FFFFFF}/joinmessage [message]");
    format(string, sizeof(string), "You have set your Join Message to: %s", PlayerInfo[playerid][JoinMessage]);
    SendClientMessage(playerid, -1, string);
    GetPlayerName(playerid, pName, sizeof(pName));
    format(file, sizeof(file), "accounts/%s.ini", pName);
    INI_WriteString(file, "personalmsg", PlayerInfo[playerid][JoinMessage]);
    INI_Close(file);
    return 1;
}
Error Line:
1:
pawn Код:
INI_WriteString(file, "personalmsg", PlayerInfo[playerid][JoinMessage]);
2:
pawn Код:
INI_Close(file);
Reply


Messages In This Thread
convert dini to y_Ini - by DerickClark - 12.04.2014, 15:21
Re: convert dini to y_Ini - by Lidor124 - 12.04.2014, 15:25
Re: convert dini to y_Ini - by DerickClark - 12.04.2014, 15:29
Re: convert dini to y_Ini - by Lidor124 - 12.04.2014, 15:45
Re: convert dini to y_Ini - by DerickClark - 12.04.2014, 15:47
Re: convert dini to y_Ini - by bool - 12.04.2014, 15:56
Re: convert dini to y_Ini - by DerickClark - 12.04.2014, 16:03
Re: convert dini to y_Ini - by bool - 12.04.2014, 16:16
Re: convert dini to y_Ini - by DerickClark - 12.04.2014, 16:32
Re: convert dini to y_Ini - by bool - 12.04.2014, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)