Need help with my ban system
#6

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(playeridparams[]) 

//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+
Reply


Messages In This Thread
Need help with my ban system - by 1fret - 18.10.2017, 05:11
Re: Need help with my ban system - by McBan - 18.10.2017, 08:47
Re: Need help with my ban system - by Zeth - 18.10.2017, 08:54
Re: Need help with my ban system - by 1fret - 18.10.2017, 16:33
Re: Need help with my ban system - by Zeth - 18.10.2017, 16:48
Re: Need help with my ban system - by 1fret - 18.10.2017, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)