INI_WriteString help
#1

I've been trying to find a way to record the owner of the vehicle but keep getting errors such as
error 035: argument type mismatch (argument 3)

Код:
INI_String("Owner",VehicleInfo[idx][vOwner], 24);

new name[24];
format(name, sizeof(name), GetName(playerid));
INI_WriteString(File,"Owner", VehicleInfo[vehID][vOwner] = name);

stock GetName(playerid)
{
    new name[24];
    GetPlayerName(playerid, name, 24);
    if(playerid == INVALID_PLAYER_ID)
        name = "Disconnected / Offline";
    return name;
}
This is all I think you need to see. If anyone could help it'd be much appreciated so I can move on with my script.
Reply


Messages In This Thread
INI_WriteString help - by ScrubKid - 20.11.2013, 07:26
Re: INI_WriteString help - by AIped - 20.11.2013, 07:42
Re: INI_WriteString help - by ScrubKid - 20.11.2013, 08:00
Re: INI_WriteString help - by AIped - 20.11.2013, 08:01
Re: INI_WriteString help - by ScrubKid - 20.11.2013, 08:06
Re: INI_WriteString help - by AIped - 20.11.2013, 08:10
Re: INI_WriteString help - by ScrubKid - 20.11.2013, 08:14
Re: INI_WriteString help - by AIped - 20.11.2013, 08:42
Re: INI_WriteString help - by ScrubKid - 20.11.2013, 09:59
Re: INI_WriteString help - by ScrubKid - 20.11.2013, 10:53

Forum Jump:


Users browsing this thread: 2 Guest(s)