Making a stock
#3

[QUOTE=MarinacMrcina;1911224]Hi,I want to make a stock that I m using to get the playername.txt in the registering system

pawn Код:
stock getfile(playerid)
{
    new file[64], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(file, sizeof(file), "/users/%s.txt", name);
    return file;// not sure but give it a try.
}
Reply


Messages In This Thread
Making a stock - by MarinacMrcina - 08.06.2012, 14:09
Re: Making a stock - by HuSs3n - 08.06.2012, 14:13
Re: Making a stock - by FalconX - 08.06.2012, 14:13
Re: Making a stock - by CptK - 08.06.2012, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)