Posts: 617
Threads: 129
Joined: Feb 2014
Quote:
Originally Posted by Debjit
You aren't writing the reason for ban, that's why it couldn't load the string here
PHP код:
public LoadUser_data(playerid,name[],value[])
{
INI_String("Reason",pInfo[playerid][Banres],200);
return 1;
}
Changes
PHP код:
CMD:ban(playerid, params[])
{
//contents
INI_WriteString(File,"Reason", reason); //it should work now as you were not saving it and the name was not same
//contents
return 1;
}
|
Damn good attention to details, i didn't realise i was loading the wrong name XD, thanks for the help man rep+