Error With Dini
#6

So pName is not a variable, you don't need that "new pName[maxplayers]" line. And this is your stock:
pawn Код:
stock pName(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),"Roleplay/Users/%s.ini",playername);
    return string;
}
Reply


Messages In This Thread
Error With Dini - by RandomDude - 23.04.2013, 19:42
AW: Error With Dini - by HurtLocker - 23.04.2013, 19:47
Re: Error With Dini - by RandomDude - 23.04.2013, 19:50
Re: Error With Dini - by Vince - 23.04.2013, 19:51
Re: Error With Dini - by RandomDude - 23.04.2013, 19:52
AW: Error With Dini - by HurtLocker - 23.04.2013, 19:54
Re: AW: Error With Dini - by RandomDude - 23.04.2013, 19:57
AW: Error With Dini - by HurtLocker - 23.04.2013, 20:01
Re: AW: Error With Dini - by RandomDude - 23.04.2013, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)