31.01.2012, 14:07
Post the error. It should be:
pawn Код:
enum enum_name
{
CarOwner[ MAX_PLAYER_NAME ],
// Rest
}
pawn Код:
// Set Name
new
Name[ MAX_PLAYER_NAME ], Save_String[ 32 ]; // Or '64' besides on your File Location.
GetPlayerName( playerid, Name, MAX_PLAYER_NAME );
format( Save_String, sizeof( Save_String ), /* Use your path -> */"Load/Vehicles/%s.ini", Name );
// Save
dini_Set( Save_String, "CarOwner", Name );
// Load
dini_Get( Save_String, "CarOwner" );