Offline commands problem
#2

if(sscanf(params, "us[48]i", player, text, ammount))

The sscanf parameter 'u' will search through ONLINE players, not offline. You need to change this to a string ('s'), and check if a file with their name exists, otherwise return an error message...
Reply


Messages In This Thread
Offline commands problem - by |MadDog| - 26.01.2013, 07:08
Re: Offline commands problem - by Threshold - 26.01.2013, 07:28
Re: Offline commands problem - by |MadDog| - 26.01.2013, 07:31
Re: Offline commands problem - by Frede - 26.01.2013, 07:33
Re: Offline commands problem - by Threshold - 26.01.2013, 07:37
Re: Offline commands problem - by |MadDog| - 26.01.2013, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)