Problem with /deleteacc
#6

Quote:
Originally Posted by Alexis1999
Посмотреть сообщение
Here's the problem

if(sscanf(params, "s[24]", targetname))

A target player ( Either name Either ID ) must always be defined as "u"

so that should be replaced with
if(sscanf(params, "u", targetname))
How is he supposed to unban a user that is not even online?

format(filestring, sizeof(filestring), "Users/%.ini", targetname);

format(filestring, sizeof(filestring), "Users/%s.ini", targetname);

Missing your specifier
Reply


Messages In This Thread
Problem with /deleteacc - by Pawnie - 14.08.2013, 20:05
Re: Problem with /deleteacc - by Vanter - 14.08.2013, 20:06
Re: Problem with /deleteacc - by Pawnie - 14.08.2013, 20:12
Re: Problem with /deleteacc - by Alexis1999 - 14.08.2013, 20:42
Re: Problem with /deleteacc - by Pawnie - 14.08.2013, 20:51
Re: Problem with /deleteacc - by Pottus - 14.08.2013, 20:58

Forum Jump:


Users browsing this thread: 1 Guest(s)