22.11.2011, 13:38
Im trying to save player name to file using this
But it saves 1 isnted of name
any ideas? can someone fix it? thx
pawn Код:
new string[24], file[256], name[24];
GetPlayerName(playerid, name, 24);
format(file,sizeof(file),"Cars/%s.ini",name);
if(dini_Exists(file))
{
dini_IntSet(file, "Owner", format(string, sizeof(string), "%s",name));
any ideas? can someone fix it? thx