Server Console Close after /createsignature
#5

thanks now my problem is this

pawn Код:
CMD:mysignature(playerid, params[])
{
    new string[678];
    format(file, sizeof(file), "RSignature/Users/%s.ini", pname(playerid));
    SignInfo[playerid][Signature] = dini_Int(file, "Signature"); //the problem is here, dini_Int doesn't support dini_Set what should i do now? if i do dini_IntSet the word i wrote in /createsignature will be a value
    if(!dini_Exists(file)) return SendClientMessage(playerid, -1, "You don't create signature yet!");
    format(string, sizeof(string), "%s\n", SignInfo[playerid][Signature]);
    ShowPlayerDialog(playerid, DIALOG_MYSIGN, DIALOG_STYLE_MSGBOX, "My Signautre", string, "OK", "");
    return 1;
}
Reply


Messages In This Thread
Server Console Close after /createsignature - by Reklez - 10.03.2012, 09:34
Re: Server Console Close after /createsignature - by CAR - 10.03.2012, 09:37
Re: Server Console Close after /createsignature - by Reklez - 10.03.2012, 09:40
Re: Server Console Close after /createsignature - by CAR - 10.03.2012, 09:44
Re: Server Console Close after /createsignature - by Reklez - 10.03.2012, 09:54
Re: Server Console Close after /createsignature - by CAR - 10.03.2012, 09:59
Re: Server Console Close after /createsignature - by Reklez - 10.03.2012, 10:13
Re: Server Console Close after /createsignature - by CAR - 10.03.2012, 11:00

Forum Jump:


Users browsing this thread: 1 Guest(s)